Replacing system("PAUSE")

This is a discussion on Replacing system("PAUSE") within the C++ Programming forums, part of the General Programming Boards category; Originally Posted by jk1998
I know that using system("PAUSE") to pause a running program is bad. But I need it ...

I know that using system("PAUSE") to pause a running program is bad. But I need it so that user can read the output. Is there any way to achieve the same effect of system("PAUSE") without using it? Thanks in advance

>> Or is system("pause"), something else, entirely?
It is something else entirely that attempts to do basically the same thing. It is another option for what to put inside the mypause function provided in the FAQ.