Note: For some services, you must include the system file console.h. To read individual characters in raw mode (i.e. so that you don't require the user to hit the return key), use getch(). The DOS C library function kbhit() will return 1 or 0, according to whether a key has been hit.