write a program which capitalizes the first letter of each word in a sentence c++ code example
Example: capitalize first letter c++
string str = "something";
str[0] = toupper(str[0]);
string str = "something";
str[0] = toupper(str[0]);