how to check is character is a letter in c++ code example Example: isalpha c++ char test='a'; cout<<isalpha(test);