i was using getch() funtion and storing the result in a int variable. But it didn't work properly. I did an 'add watch' on the program to see what the int varibale was.
int num;
num = getch();
the add watch said num took on a value of 50 when i typed in the number 1, it also went to 49 when i typed in the number 2. Why can't getch() handle integers properly?