◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ──────────────────────────────────────────────────────────────────────────── The kbhit function checks the console for a recent keystroke. If the function returns a nonzero value, a keystroke is waiting in the buffer. The program can then call getch or getche to get the keystroke. Return Value The kbhit function returns a nonzero value if a key has been pressed. Otherwise, it returns 0. -♦-