Stefan Kristensen <[EMAIL PROTECTED]> writes: > Hello boys and girls.
Some of us here are quite old :-( > I'm refreshing my C++ For that, I recomment abandoning your old school book, and getting excellent, modern and concise "Accelerated C++": http://www.acceleratedcpp.com/ > My old school book has an example that uses getche(), which I > understand is not C++ standard and is not supported by G++. Can anyone > help me out and tell me what to use instead? getchar() is close, but not exactly equivalent. Reading keyboard *immediately* (without waiting for carriage return) is rather tricky on UNIX. > And while we are at it: The same question for clrscr() ;-) That's also quite tricky, because there is no 'screen' that you can clear. If you really want it, you can read about curses terminal manipulation library. "man curs_clear" or "man wclear" may work. Cheers, -- In order to understand recursion you must first understand recursion. Remove /-nsp/ for email. _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus