#include <cross_studio_io.h> int debug_getch(void);
debug_getch prompts the user for character input and returns the character supplied or a negative value if no character is available.
debug_getch is an extension provided by CrossWorks C.