QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1189|回复: 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, 2024-7-1 13:01 , Processed in 0.106234 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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