I'd like to have the user get a number character then turn it into an integer value. I tried things like atoi(getch()), but it hasn't worked for me. I've only been able to use the ascii keypress values for the number keys. Could someone tell me how else I can do it?