Hey people,
I'm a newbie at C++ and am taking things nice and slowly for the moment. I've created my first C++ program "Hello World". It compiles correctly but when i run the program all it does is pop up and disappear in less than a second. The code is as follows:
/**************************************************/
#include <IOSTREAM>
int main ()
{
std::cout << "Hello World!\n"; // Displays Hello World
return 0;
}
/**************************************************/
I can't figure out what's going wrong. I'm using Dev C++ to create my programs. Can anyone give me any pointers as to the problem? Could it be to do with the enviroment or compiler options?