seekmm 发表于 2006-3-18 01:47:14

GCC can't pass "stido.h"?

i use gcc4.0 in ubandu,when debug this,it show:
#include <stdio.h>
int main()
{
printf("test/n");
return(0);
}
root@home:~/Desktop# gcc -o test aa.c
aa.c:1:19: error: stdio.h: 没有那个文件或目录
aa.c: 在函数 ‘main’ 中:
aa.c:4: 警告:内建函数 ‘printf’ 不兼容的隐式声明
i didn't know how to slove this?

zhenghj1024 发表于 2006-3-19 21:46:25

printf("test/n");
               \n
页: [1]
查看完整版本: GCC can't pass "stido.h"?