fatal error现象如下:
b.c中的代码如下:
include<stdio.h>
int main()
{
printf("this is b!\n");
}
经gcc -o a.c b.c时出现fatal error。
解决办法:
安装build-enssential
如果出现错误需要更新apt-get,命令行执行 sudo apt-get updata即可。
编译通过:
原文地址:https://www.cnblogs.com/tengli/p/10686896.html
时间: 2024-08-01 02:13:57