Código:
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
//#define OK -32767
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int tecla;
for(tecla=4 ; tecla<256 ; tecla++){
if(GetAsyncKeyState(tecla) > 0){
printf("Presiono la tecla %c", tecla);
}
}
/*
int main(int argc, char *argv[]) {
return 0;
}
*/
#include <stdlib.h>
#include <windows.h>
//#define OK -32767
/* run this program using the console pauser or add your own getch, system("pause") or input loop */
int tecla;
for(tecla=4 ; tecla<256 ; tecla++){
if(GetAsyncKeyState(tecla) > 0){
printf("Presiono la tecla %c", tecla);
}
}
/*
int main(int argc, char *argv[]) {
return 0;
}
*/