What is mypause()? It looks like you have an infinite recursive function. "pause" is used at the Windows command line to wait for a key press to continue execution of the program.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
To tell the truth I am not really sure what 'mypause()' is, however, I got it from the FAQ's, to stop my command line from closing. It took me about 3 hours to find something that would work.
Oh, so mypause() refers to the example in the FAQ... it looked like you were trying to define your own function due to inconsistent indenting. As such, refer to the FAQ.
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)
>> 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.