I have am writing a simple user interface that scans a single keyboard keystroke. I am using scanf ("%s", input); along with a errorchecking function.
My question is: Does anyone know how to scan in a single user keystroke input without the user hitting <cr> on the keyboard. (Automatic <cr> after a keystroke)
My interface consists of a several numbered menus, therefore an automatic <cr> will make my user interface flow more smoothly.
Thanks in advance.