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.
>> 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.