how to check whether character is uppercase in c++ code example
Example 1: c++ check if string contains uppercase
#include <algorithm>
any_of(str.begin(), str.end(), isupper)
Example 2: check uppercase c++
char character = 'A'; //0100 0001
if((character & 0x20) == 0) {
//is uppercase
}