找回密码
 注册
查看: 993|回复: 1

GCC can't pass "stido.h"?

[复制链接]
发表于 2006-3-18 01:47:14 | 显示全部楼层 |阅读模式
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?
发表于 2006-3-19 21:46:25 | 显示全部楼层
printf("test/n");  
                 \n
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-12 07:44 , Processed in 0.050949 second(s), 15 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表