desktop wrote:
Is there someway to pause the execution of a program? I have a large
while loop and before it gets started I would like to pause the
program so I can see the output before it gets overwritten by the
loop.
Have an input statement there, something like
{ std::string blah;
std::cout << "pausing, press enter..." << std::flush;
std::cin >blah; }
Next time, please read the FAQ, it's there.
V
--
Please remove capital 'A's when replying by e-mail
I do not respond to top-posted replies, please don't ask