c++ isdigit or character code example Example: isdigit c++ str = "10" //Evaluates to True isdigit(str[0])