system("PAUSE");
-
Saturday, November 21, 2009 3:27 PM
hello all,
1) what doessystem(
"PAUSE");
do ??
2) can programs do without it ?
All Replies
-
Saturday, November 21, 2009 3:41 PMJust as it says. It causes the execution of your program to pause
until you hit a key. It keeps the console window open so you can
look at the output. You don't always need it. You can do a breakpoint
instead, or use "Run to cursor", or use alternate input methods, or
run without debugging, etc.
You easily could have found out what it does by running your program
both with and without the pause.
- Wayne -
Tuesday, November 24, 2009 12:12 AM
Yep. I tried to do that .. I just wanted to know the concept behind it
<< eager beaver XD
Thank you

