where can i find a list of the numbers for each key that is used with the getch() command.
Printable View
where can i find a list of the numbers for each key that is used with the getch() command.
Something like this, or something different?
char c = 0;
while(c != 'q') {
printf("%c is %i \n", c, c);
c = getch();
}
It was right under your nose :p