啊哈磊_编程从这里起步

标题: 小白,为什么 [打印本页]

作者: 在下境泽言香    时间: 2019-7-31 09:28
标题: 小白,为什么
  1. #include <iostream>
  2. #include <cstdio>
  3. using namespace std;
  4. int main()
  5. {   
  6.     system("color 5");
  7.     printf("wa wa wa ");
  8.     return 0;
  9. }
复制代码

作者: 在下境泽言香    时间: 2019-7-31 09:33
为什么 system("color 5"); 会显示错误呢?
作者: Curvature Drive    时间: 2019-7-31 09:41
#include <stdio.h>
#include <stdlib.h>
怎么连这么基础的头文件都没有加


作者: asa    时间: 2019-7-31 16:41
#include <stdio.h>
#include <stdlib.h>
加上这个!




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