车间生产很忙的文章:linux下的gcc编译问题。比较简单,请指教!

来源:百度文库 编辑:中科新闻网 时间:2024/04/29 04:11:44
[neosec@wb test]$ gcc -o test2 test2.c
test2.c:1:20: stdafx.h: No such file or directory

下面是test2.c中的程序
#include "stdafx.h"
#include "stdio.h"
int main()
{
FILE *fp;
fp=fopen("/home/neosec/test/a","r");
return(0);
}

找不到stdio.h 这个文件