Dev C ++没有输出

时间:2016-02-16 12:28:09

标签: c++ dev-c++

我正在尝试在Dev C ++上编写一个简单的项目,但似乎它在Windows 8上的运行效果不佳。

#include <cstdlib>
#include <iostream>
using namespace std;

int main()
{
    cout<<"hello You~~"<< endl;
    system("PAUSE");
    return 0;
}

编译后,它会显示一个空的黑屏。我做错了吗?

1 个答案:

答案 0 :(得分:2)

在Windows 8上运行Dev-C ++ 4.9.9.2存在已知问题(它并不令人惊讶,它是2005年的一个程序)。尝试更新的IDE - 如果您喜欢Dev-C ++,可以尝试使用Orwell Dev-C ++。