在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");
}

相似回答