Pause probleM

Hey just starting out and I am following a book called A beginning guide to c++ though game programming. I have made a few of the programs so far, and I keep having the same problem, it is running the program to fast. I am not sure how to tell it to pause. Here is an example of one.

//game over
// a first c++ program
/*test comment space, how much can I type in a comment section. Can it take up multiple lines of code*/

#include <iostream>
using std::cout;// use this instead of typing declarations in MAIN//
using std::endl;// same as above//
int main()

cout << "GAME OVER!" << endl;
return 0;


Last edited on
There's a big sticky which covers this topic:
Second thread on the Beginners section, titled "Console Closing Down".
Topic archived. No new replies allowed.