Terminal closes after 13 seconds

Hi I am using Visual Studio 2010 and no matter what code I run, the command line interface closes about 13 seconds after I run the program! It is incredibly frustrating and I can't get anything done if it keeps closing like this. Any help would be greatly appreciated.
You should either run your console program from the console (as you ought to be doing anyway, it is a console program, isn't it?), or apply one of the recommended methods from here:
http://www.cplusplus.com/articles/iw6AC542/

There is also interesting information here:
http://www.cplusplus.com/forum/beginner/1988/
Topic archived. No new replies allowed.