visual studio 2012 command prompt problem

when i output something command prompt disappear in a second

i do not want to use the system("pause") thing

is there any setting to stop this thing?
Last edited on
closed account (jyU4izwU)
Do:
int end; then when you want to stop something do: cin >> end;
BTW Please Use The Beginners Forum If You Have A Question Like This... Thanks
Last edited on
Make sure you're compiling as a console application (specified in your project's property pages) and starting it the correct way from within the IDE.

http://s8.postimg.org/xkiinv8sl/Console.png

[edit: I guess I should've checked the spelling on that image.]
Last edited on
what i do is #include <conio.h> and then use the getch() function.
use cin.ignore();

this topic is covered in the beginners forum.
http://www.cplusplus.com/forum/beginner/1988/
Topic archived. No new replies allowed.