Writing a getch() function

Writing a getch() function

Post by Lester Paul Vecs » Fri, 20 Jan 1995 03:04:59



Can someone tell me how to code a simple getch() function for stdin?

(Perhaps there is a command to check if there is a character in the
stream...) I know about the ncurses library, but I had trouble putting
text to the screen... (printw clears the screen the first time
you use it)

--
 ________________________________________________________
|  "Those that are confused... are fools" -J.R.S         |_______________
|                                                                        |
|  Master Lester               http://www.columbia.edu/~siv1/master.html |