I know this is really simple but how would I make a program that when it is done running it will ask you to press any key to exit?
How would I create that part? A while statement?
thanks
I know this is really simple but how would I make a program that when it is done running it will ask you to press any key to exit?
How would I create that part? A while statement?
thanks
Wow that was fast!!
thanks
Oh, and I am using borland
You can also use 'system("pause");'
stdlib.h
Unless of course you system doesn't have a "pause" command, which very well may be the case. In short, yes you can, the long answer, no you sholdn't.Originally posted by WolfPack
You can also use 'system("pause");'
stdlib.h
Quzah.
Hope is the first step on the road to disappointment.