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

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

Test the value for 48 ('0') through 57 ('9')

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.