// If compiling under Linux, need to create the blocking getch() call. #ifdef __GNUC__ int getch(); #else #include #endif