User Tools

Site Tools


c:conio.h:kbhit
click
to support this page (eg 0,42 € or so) Thanks.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:conio.h:kbhit [2013/02/03 16:45] (current)
158.181.88.241 created
Line 1: Line 1:
 +====== kbhit======
 +<code c>
 +int kbhit();
 +</code>
  
 +==== description of kbhit ====
 +used to find ou if a key has been pressed or not
 +
 +<code c>
 +#include <stdio.h>
 +#include <conio.h>
 +
 +int main( void )
 +{
 +   while (kbhit())
 +      printf("you have touched key.\n");
 +     
 +   return 0;
 +}
 +</code>
 +
 +===== 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