[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


kbhit

Returns true if any keyboard key is pressed.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS
Win32

Prototype:
#include <console.h>
int kbhit(void);
Parameters:

None

Remarks:

Returns true if any keyboard key is pressed without retrieving the key used for stopping a loop by pressing any key

Returns:

Returns non zero when any keyboard key is pressed.

See Also:

"getch"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000