鱼C论坛

 找回密码
 立即注册
楼主: 小甲鱼

[课后作业] S1E2:第一个程序 | 课后测试题及答案

    [复制链接]
发表于 2020-2-5 10:46:32 | 显示全部楼层
零基础入门学习C语言封面
《零基础入门学习C语言》
小甲鱼 著
立即购买
111
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-2-5 10:55:47 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-2-5 11:23:17 | 显示全部楼层
为什么我敲的代码和复制的代码都显示错误
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 11:33:54 | 显示全部楼层
。。。
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-2-5 11:42:45 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 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行代码!

请按任意键继续. . .
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 12:56:54 | 显示全部楼层
来看答案
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 13:49:15 | 显示全部楼层

小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-2-5 14:07:23 | 显示全部楼层
6666666666
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 14:17:35 | 显示全部楼层
查看参考答案
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 14:27:46 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 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 个 ==========

麻烦老师了
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 14:36:57 | 显示全部楼层
给我康康
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 14:38:26 | 显示全部楼层
涨知识
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 14:46:40 | 显示全部楼层
来看答案了
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 14:57:00 | 显示全部楼层
看看答案
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 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
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 15:44:52 | 显示全部楼层
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2020-2-5 15:44:53 | 显示全部楼层
写好了
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2020-2-5 16:07:01 | 显示全部楼层
答案
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-11-15 06:50

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表