getchar() 's odd behavior
I don't know if this is the right forum to post in, but this is probably a simple question. I've just started writing C programs, using the gcc compiler. However, my manual refers to a function called "getche()" that receives input from the keyboard without printing it on the screen and forcing you to press enter. It says this is a non-standard function, and you have to include the file "conio.h" to use it. I assume gcc doesn't have that file. All I really want to do is use non-line-buffered input in my program. Is there a way to do that? Better yet, is there a place where I could read about the functions included with gcc and get to know them better?
|