0
How to capitalize a string in c++...!
make code in c++ only...
1 Antwort
+ 3
Boost string algorithms:
#include <boost/algorithm/string.hpp>
#include <string>
std::string str = "Hello World";
boost::to_upper(str);
std::string newstr = boost::to_upper_copy<std::string>("Hello World");
Reference: https://stackoverflow.com/questions/735204/convert-a-string-in-c-to-upper-case