111
。
为什么我敲的代码和复制的代码都显示错误
。。。
{:5_91:}
计算中...
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行代码!
请按任意键继续. . .
来看答案
害
6666666666
查看参考答案
。
小甲鱼老师您好,为啥我报错了?
我手打了一遍,还复制试了一下,都不行。
我用的软件是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 个 ==========
麻烦老师了
给我康康
涨知识
来看答案了
看看答案
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
{:5_95:}
写好了
答案