I want to convert a std::string to lowercase. I am aware of the function tolower(), however in the past I have had issues with this function and it
std::string
tolower()
Another approach using range based for loop with reference variable
string test = "Hello World"; for(auto& c : test) { c = tolower(c); } cout<