SyntaxFix
Write A Post
Hire A Developer
Questions
Here is the latest code with C++11
std::string cmd = "Hello World"; for_each(cmd.begin(), cmd.end(), [](char& in){ in = ::toupper(in); });