Click to See Complete Forum and Search --> : Catching Keystrokes in C


evan223250
10-27-2001, 12:30 AM
Hello. Does anybody know how to have your C program catch individual keystrokes in C WITHOUT use of the enter key? This is probably something really simple that I'm missing but I'm stuck.

Evan

Qubit
10-27-2001, 03:10 AM
People ask this question here about once every three months. So if you do a little forum search, you'll find the answer yourself.

Little hint: use 'termios' in your search keywords.

binaryDigit
10-28-2001, 04:45 PM
http://www.codeexamples.org/cgi-bin/c2h/hl.cgi?type=plain&filename=userinput.c