Chinaunix首页 | 论坛 | 博客
  • 博客访问: 337386
  • 博文数量: 61
  • 博客积分: 2816
  • 博客等级: 少校
  • 技术积分: 880
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-18 23:38
文章存档

2012年(1)

2011年(19)

2010年(41)

分类: LINUX

2010-12-23 21:58:08

ubuntu 10
程序
int main (int argc, char** argv)
{
printf( "hello,linux world\n");
return 0;
}
报错
helloword.c: In function ‘main’:
helloword.c:4: warning: incompatible implicit declaration of built-in function ‘printf’

原因是缺少头文件#include


阅读(1637) | 评论(1) | 转发(0) |
0

上一篇:ubuntu 安装ncurses

下一篇:autotool Makefile

给主人留下些什么吧!~~

chinaunix网友2010-12-26 17:24:37

很好的, 收藏了 推荐一个博客,提供很多免费软件编程电子书下载: http://free-ebooks.appspot.com