[ad_1]
You can use std::isalpha:
Checks if the given character is an alphabetic character […]
Example:
#include <cctype> // for std::isalpha
if ( std::isalpha( str[0] ) )
std::cout << "The character is an alphabetic character." << std::endl;
[ad_2]
solved how to extract and check if first character in array element is a letter [closed]