how do you prevent your command box from closing before i can read the results.
This is a discussion on Help within the C++ Programming forums, part of the General Programming Boards category; how do you prevent your command box from closing before i can read the results....
how do you prevent your command box from closing before i can read the results.
Code:int main () { printf( "%s", "Press any key to continue" ); getchar( ); //stays here until a character is type return 0; }