搜索
查看: 255|回复: 3

这个程序为啥运行不了嘞

[复制链接]
 楼主| 发表于 2019-7-31 09:36:28 | 显示全部楼层 |阅读模式
5啊哈币
  1. #include <iostream>
  2. #include <cstdio>
  3. using namespace std;
  4. int main()
  5. {
  6.     system("color 5");
  7.     printf("dhh");
  8.     system("pause");
  9.    
  10.     return 0;
  11. }
复制代码

发表于 2019-7-31 09:42:51 | 显示全部楼层
加头文件
#include <stdio.h>
#include <stdlib.h>

发表于 2019-8-3 10:19:55 | 显示全部楼层
加个#include <windows.h>就可以用了
发表于 2019-8-7 17:49:05 | 显示全部楼层
#include <stdio.h>
#include <stdlib.h>
using namespace std;
int main()
{
    system("color 5");
    printf("dhh");
    system("pause");
    return 0;
}
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

广播台
特别关注
快速回复 返回顶部 返回列表