void DoPause(void){ printf("Press any key to continue...\n"); getch();}
Or better yet...
void DoPause(char* Message){ printf("%s\n", *Message); getch();}
void DoPause(void){ printf("Press any key to continue...\n"); getch();}
void DoPause(char* Message){ printf("%s\n", *Message); getch();}
quote:Original post by Apocalypse_Demon
If you really wanted to alter what the text was for the system pause command, then you''ll need to actually hex edit one of the dlls containing the information for the text for system pause. If you knew what dll to look in, then it shouldn''t be hard to hex edit it...
void Pause( const char *pMessage = "Press any key to continue ..." );void Pause( const char *pMessage ){ cout << pMessage << ''\n''; cin.get();}
void Pause( const string pMessage = "Press any key to continue ..." );void Pause( const string pMessage ){ cout << pMessage << ''\n''; cin.get();}