0

hello there, in what way you can convert an integer to a char??
i'll use it to check if the user's input is a number, if it is a letter, it will allert him to try again and input a number...the integer will then be use for a 'for loop...thanks

3
Contributors
2
Replies
3
Views
10 Years
Discussion Span
Last Post by WaltP
0

Your problem is not to convert int to char if I'm correct. You only need to check the input with int isdigit(int character); link

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.