I was wondering if there was any library function in C++ that allowed me to uncover if a user's input into a certain program is a number or a character. Usually when I have to deal with this kind of thing I just play around with ascii codes, but it would be pretty convenient to have a function check if the input is a letter or a number, no matter what I declared it as in my implementation.