11智能在线
新记
在Ubuntu10.4 下gcc 编译 hello.c:1:19: error: stdio.h: No such file or directory
如题所述
举报该文章
其他看法
第1个回答 2013-10-15
请参考:
hello.c 1行的stdio.h头文件不存在
解决:
#include <stdio.h> //是这样包含的吗?
如果不是,请改成这样。
追问
就是一个很简单的程序,如下
#include
void main()
{
printf("Hello world!\n");
}
相似回答
大家正在搜
相关问题
Linux中gcc无法编译,显示 gcc:exe.c:no ...
c语言编译 提示No such file or direct...
Linux gcc编译不成功:<stdio.h>:no su...
arm-linux-gcc 编译hello.c提示:hell...
c语言编译 提示No such file or direct...
ubuntu下编译C程序的时候显示
输入:arm-none-linux-gnueabi-gcc ...
arm-linux-gcc编译显示ERROR:stdio.h...