So I was working on a class project (a small interpreter for a mini scheme like language, more about it some other time), and I bumped into a weird C++ thing. There is no std::string::tolower() or std::string::toupper() function. You'll have to do something like
std::transform(str.begin(), str.end(), str.begin(), std::tolower())
for example to tolower all the chars in a string. As it is not that difficult to see, the "Transform way" involves more typing, and well...awkward a bit.