May 30, 2013 at 12:39am
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 May 30, 2013 at 1:18am
May 30, 2013 at 12:51am
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 May 30, 2013 at 12:53am
May 30, 2013 at 4:11am
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 May 30, 2013 at 4:13am
May 30, 2013 at 4:54am
what i do is #include <conio.h> and then use the getch() function.