background preloader

Console

Facebook Twitter

Read key. Q: How can I read a single character from the keyboard without waiting for the RETURN key?

read key

How can I stop characters from being echoed on the screen as they're typed? A: Alas, there is no standard or portable way to do these things in C. Concepts such as screens and keyboards are not even mentioned in the Standard, which deals only with simple I/O ``streams'' of characters. WIN32: envvars of another process. Kbhit. PDCurses - Public Domain Curses.