how to get lowercase char in c++ code example
Example 1: convert characters to lowercase c++
str[i] = tolower(str[i]);
Example 2: check lowercase letters c++
char character = 'a'; //0110 0001
if(character & 0x20) {
//is lowercase
}
str[i] = tolower(str[i]);
char character = 'a'; //0110 0001
if(character & 0x20) {
//is lowercase
}