我明白了。编译一个简单的 ciao.c 程序时出错
In file included from ciao.c:1:
/usr/local/lib/gcc/x86_64-apple-darwin18.5.0/8.3.0/include-fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~~
compilation terminated.
我已经安装了 Xcode、命令行工具和您想要的东西,但是没有。
#include <stdio.h>
int main()
{
printf("Hello, World!");
return 0;
}
你能帮帮我吗?
最佳答案
重命名 <_stdio.h>
至 <stdio.h>
.
附言这是更新问题的更新答案:
尝试使用 xcode-select --install
重新安装 Xcode .
关于c - 标准输入输出.h : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58103092/