Just wondering whether there is any hold the screen (console) until the user presses the enter key (or any other key).


getchar() can be used in C, what about C++?

Must be ANSI compatible.

Thanks!