hello.c error:stdio nosuch file or directory
1、#gcc -o hello hello.c
hello.c:1:16: error:stdio nosuch file or directory

2、报错信息提示为:hello.c 中找不到stdio 文件 错误在 1行16列
其实这是辨析的时候差生的错误,告知头文件中不到
3、重新打开hello.c 文件。
#vi hello.c
进入插入模式
将第一行中修改为#include <stdio.h>
保存退出

4、重新编译 :
#gcc -o hello hello.c
运行:
#./hello
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:160
阅读量:83
阅读量:125
阅读量:123
阅读量:66