User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







c:conio.h:kbhit

kbhit

int kbhit();

description of kbhit

used to find ou if a key has been pressed or not

#include <stdio.h>
#include <conio.h>
 
int main( void )
{
   while (kbhit())
      printf("you have touched key.\n");
 
   return 0;
}

output of kbhit c example

  you have touched a key
advertising
c/conio.h/kbhit.txt · Last modified: 2013/02/03 16:45 by 158.181.88.241

Impressum Datenschutz