网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

hello.c error:stdio nosuch file or directory

时间:2026-02-16 18:56:10

1、#gcc -o hello hello.c

hello.c:1:16:  error:stdio nosuch file or directory

hello.c error:stdio nosuch file or directory

2、报错信息提示为:hello.c 中找不到stdio 文件 错误在  1行16列

其实这是辨析的时候差生的错误,告知头文件中不到

3、重新打开hello.c 文件。

#vi hello.c

进入插入模式

将第一行中修改为#include <stdio.h>

保存退出

hello.c error:stdio nosuch file or directory

4、重新编译  :

#gcc -o hello hello.c

运行:

#./hello

© 2026 阿力知识库
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com