How could one convert a string to upper case. The examples I have found from googling only have to deal with chars.
This c++ function always returns the upper case string...
#include #include using namespace std; string toUpper (string str){ locale loc; string n; for (string::size_type i=0; i