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!
This is a discussion on Prompting.... within the C++ Programming forums, part of the General Programming Boards category; Just wondering whether there is any hold the screen (console) until the user presses the enter key (or any other ...
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!
If only life is as easy as C...
Does the FAQ section say?
getch and kbhit are not ANSI compatible.....
Is that the only way that we can pause the screen??
Any other tricks?
(I need to make it work in Unix..)
If only life is as easy as C...