I need to convert a string in C++ to full upper case. I\'ve been searching for a while and found one way to do it:
#include #include
Boost string algorithms:
#include #include std::string str = "Hello World"; boost::to_upper(str); std::string newstr = boost::to_upper_copy("Hello World");
Convert a String In C++ To Upper Case