啊哈磊_编程从这里起步

标题: 出什么事了? [打印本页]

作者: fairy8781    时间: 2019-5-3 16:11
标题: 出什么事了?
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main()
  4. {
  5.     printf("ni hao");
  6.     system("pause");
  7.     return 0;
  8. }
复制代码


-运行失败--
Command failed: "/Applications/AhaCpp.app/Contents/Resources/core/bin/gcc-8.2" "/Applications/AhaCpp.app/Contents/Resources/code/1.c" -o "/Applications/AhaCpp.app/Contents/Resources/code/1"
In file included from /Applications/AhaCpp.app/Contents/Resources/code/1.c:1:
/Applications/AhaCpp.app/Contents/Resources/core/lib/gcc/x86_64-apple-darwin18.0.0/8.2.0/include-fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
#include <_stdio.h>
          ^~~~~~~~~~
compilation terminated.



作者: Forinser    时间: 2019-5-11 18:13
你尝试重装试试,好像没问题




欢迎光临 啊哈磊_编程从这里起步 (https://bbs.codeaha.com/) Powered by Discuz! X3.2