Hello, I'm just getting started with C++. I got the program Dev-C++.
I bought a book for complete beginners. But I can't even get the first example [ Hello World ] right. All that happens when I compile and run it is that I see a window appearing on the screen and then disappearing really fast again.
Here's the code:
Code:#include <iostream> using namespace std; int main() { cout << "Hello World\n"; return 0; }



Reply With Quote


Bookmarks