Or is system("pause"), something else, entirely?Code:
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.
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.
>> 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.