[问题]为何提示找不到stdio.h这个文件
发表于 : 2008-04-04 20:37
刚刚开始试着用Ubuntu下的gcc编译c程序,从命令行输入gcc hello.c后,提示
liumin@liumin-desktop:~$ gcc hello.c
hello.c:1:19: 错误: stdio.h:No such file or directory
hello.c: 在函数 ‘main’ 中:
hello.c:4: 警告: 隐式声明与内建函数 ‘printf’ 不兼容
不知道是怎么一回事儿?
liumin@liumin-desktop:~$ gcc hello.c
hello.c:1:19: 错误: stdio.h:No such file or directory
hello.c: 在函数 ‘main’ 中:
hello.c:4: 警告: 隐式声明与内建函数 ‘printf’ 不兼容
不知道是怎么一回事儿?