hellow 2 evry 1..... plz help me. Big PROBLEM...... Please give me a code in cpp that will input you an integer and displays the input integer, but when a user inputs a character, the program would display that the input is invalid because it's a character.
Moved the thread to Cpp Programming and regarding your query you should just be checking it with isalpha function or even can test using ascii values of 0-9