No output window

Hi I tried to run the hello world .cpp file, but no window is formed.
And I've tried system(pause), cin.get(); etc, and still nothing came out.
I doubt it's my computer's problem, does it matter that my system is window 10?

Here are the codes


// my first program in C++
#include <iostream>

int main()
{
std::cout << "Hello World!";
}
What compiler/IDE are you using? It does not matter that you have Windows 10. I use Visual Studio with Windows 10.
Dev c++ version 5.11
First press F9 to compile.
If that is successful, press F10 to run the program.
Also, if it will not run, it may be an antivirus problem. I think Avast has been known to cause problems.
Last edited on
Topic archived. No new replies allowed.