====== kbhit====== int kbhit(); ==== description of kbhit ==== used to find ou if a key has been pressed or not #include #include int main( void ) { while (kbhit()) printf("you have touched key.\n"); return 0; } ===== output of kbhit c example ===== you have touched a key