I am writing a command prompt program in C but am having issues with the current i/o functions that ANSI C provides. I am currently using gets() and scanf(), but they can't take individual characters. For example:
If the user presses the up button, I would like to know, instead of waiting for the enter button to get pressed. Is there an ANSI function out there to do something like this?
In other words, tell me whats going on one key at a time?