lowercase all letters c++ code example
Example 1: convert characters to lowercase c++
str[i] = tolower(str[i]);
Example 2: c++ string functions lowercase
transform(su.begin(), su.end(), su.begin(), ::toupper);
transform(sl.begin(), sl.end(), sl.begin(), ::tolower);