convert a string to upper case letters in c++ code example
Example: convert all characters in string to uppercase c++
transform(str.begin(), str.end(), str.begin(), ::toupper);
transform(str.begin(), str.end(), str.begin(), ::toupper);