linux  c编程 “stdio.h:没有该文件或目录”

来源:互联网 发布:php抓取新闻 编辑:程序博客网 时间:2024/06/10 05:23

 linux 下c语言 hello world的经典测试程序

“内建函数 ‘printf’ 不兼容的隐式声明
stdio.h:没有该文件或目录”

除了#include <stdio.h>
还要 sudo apt-get install build-essential(这一步很重要哦)