I have a question on how to check if a certain letter of a string is a letter or a number.
I want the user to input a single letter. If they do not I want the program to make them reinput until they only put in a single letter. I have already figured out how to check if the string is longer than 1 character. How can I check if string[0] is a letter or a number?
example
string letter;
cout << "Input your single letter here!";
cin >> letter;
how would i check if their input really was a letter?