欧奇诺 发表于 2020-2-5 10:55:47

笑话235 发表于 2020-2-5 11:23:17

为什么我敲的代码和复制的代码都显示错误

Palpitate~ 发表于 2020-2-5 11:33:54

。。。

Ellvia 发表于 2020-2-5 11:42:45

{:5_91:}

粉红老爷爷 发表于 2020-2-5 11:45:34

计算中...
Can not open the file: .add.c
Can not open the file: .addeven.c
Can not open the file: .bian.c
Can not open the file: .bianliang.c
Can not open the file: .jisuan.c
Can not open the file: .jisuanji.c
Can not open the file: .jubu.c
Can not open the file: .liang.c
Can not open the file: .nuyan.c
Can not open the file: .nvyuan1.c
Can not open the file: .nvyuan2.c
Can not open the file: .nvyuan3.c
Can not open the file: .nvyuan4.c
目前你总共写了0行代码!

请按任意键继续. . .

wang001119 发表于 2020-2-5 12:56:54

来看答案

Tassel_YUE 发表于 2020-2-5 13:49:15


Inio 发表于 2020-2-5 14:07:23

6666666666

在下姓张 发表于 2020-2-5 14:17:35

查看参考答案

Sasakiii 发表于 2020-2-5 14:27:46

Tassel_YUE 发表于 2020-2-5 14:33:36

小甲鱼老师您好,为啥我报错了?
我手打了一遍,还复制试了一下,都不行。
我用的软件是visual studio 2019.

以下是报错显示:
1>------ 已启动生成: 项目: s1e1, 配置: Debug Win32 ------
1>s1e1.c
1>D:\VS-study\c\s1e1\s1e1.c(22,1): error C4996:'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(208): message :参见“fopen”的声明
1>D:\VS-study\c\s1e1\s1e1.c(47,1): error C4996:'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(133): message :参见“strcpy”的声明
1>D:\VS-study\c\s1e1\s1e1.c(48,1): error C4996:'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(90): message :参见“strcat”的声明
1>D:\VS-study\c\s1e1\s1e1.c(52,1): error C4996:'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(1774): message :参见“sprintf”的声明
1>D:\VS-study\c\s1e1\s1e1.c(66,1): error C4996:'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(133): message :参见“strcpy”的声明
1>D:\VS-study\c\s1e1\s1e1.c(67,1): error C4996:'strcat': This function or variable may be unsafe. Consider using strcat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\string.h(90): message :参见“strcat”的声明
1>D:\VS-study\c\s1e1\s1e1.c(80,1): error C4996:'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>D:\Windows Kits\10\Include\10.0.17763.0\ucrt\stdio.h(1774): message :参见“sprintf”的声明
1>已完成生成项目“s1e1.vcxproj”的操作 - 失败。
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========

麻烦老师了

979265553 发表于 2020-2-5 14:36:57

给我康康

1522230514 发表于 2020-2-5 14:38:26

涨知识

目鱼甲 发表于 2020-2-5 14:46:40

来看答案了

GodDarren 发表于 2020-2-5 14:57:00

看看答案

Wizardgc 发表于 2020-2-5 15:17:32

0. 计算机只能识别二进制语言
1.机器语言
2.编译
3.一个是做好一桌子菜可以随便吃,一个是火锅,想吃什么下什么,后者效率低
4.可以
5.用翻译器再次翻译
6.编码和解码
7.Q I N M E N C H E N D I R E N C H I F A N S H I F A D O N G J I N G ON G

1029674783 发表于 2020-2-5 15:44:52

{:5_95:}

解毒改名是假的 发表于 2020-2-5 15:44:53

写好了

Kisiak 发表于 2020-2-5 16:07:01

答案

1427281695 发表于 2020-2-5 16:10:40

q
页: 536 537 538 539 540 541 542 543 544 545 [546] 547 548 549 550 551 552 553 554 555
查看完整版本: S1E2:第一个程序 | 课后测试题及答案