how do you prevent your command box from closing before i can read the results.
Printable View
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;
}