I compiled and ran the 'hello world' program - we're all familiar with it I'm sure, but I have the following problem:
When I run the .exe file the hello world window appears only for an instant, then disappears - I have no way of knowing what the window actually says. I can assume that it is saying Hello World, but how can I get it to stay on my screen?
I am using the following code with Dev-C++:
#include <iostream>
int main()
{
std::cout << "Hello World!\n";
return 0;
}
Any help is greatly appreciated. I wouldnt mind getting this stumbling block behind me so I can start to really learn.