Any replacements for getch(), kbhit(), ...?

I want to know if there is any standard function that can respond to instantaneous keyboard state. For example, I call a function, getKey();, and this function returns the ASCII code of the key pressed at that instance, otherwise returns if no key is pressed at the same instance.

Aceix.
There is nothing in the standard lib, no. All of standard lib input is blocking.
Thanks,
Aceix.
Topic archived. No new replies allowed.