how to check is a letter is lower case in c++ code example
Example 1: check if character in string is uppercase c++
if (isupper(str[i])) {
// str[i] is uppercase
}
Example 2: check lowercase letters c++
char character = 'a'; //0110 0001
if(character & 0x20) {
//is lowercase
}