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? printf("test/n");
\n
页:
[1]