I need to change all the chancters from a string to uppercase. the toupper() function only works for charachters but not strings. My program looks like this:
int main()
{
string myString;
cout<<"Enter the String : ";
cin>>myString;
myString = toupper(myString); //this doesnt work, i guess since its not char.
}
Please help. Thanks.
MuthuIVS