I am new to programming in C++. I have a bit of experience in Python and ActionScript3. I decided to pick up C++ so I downloaded Dev-C++ complier.
I tried to run the following code but it doesn't seem to do anything. I complied the code, and it did not show any errors. I went to run it and a window appeared really quickly on the screen. It then closed itself after 0.5 seconds. I got the code from cPlusPlus.com.
Do I have to configure a setting or something? I remember when I was working with Python, I had to reconfigure some sort of path directory for Windows.
Code:#include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }