How to make a string uppercase C++ code example Example: uppercase capitalise character in string c++ str[i] = toupper(str[i]);