Hello all!
I am trying to take a string that has mixed uppercase and lowercase chars and then convert it to lowercase.
I am doing the following line of C++ code:
transform(theReadMessage.begin(),theReadMessage.end(),theReadMessage.begin(),theReadMessage.end(),::tolower); //theReadMessage is a string to convert to lowercase
and my C++ xCode debugger gives me this message
Too many arguments to function call, expected 1, have 2.
What am I doing wrong? Thanks in advance!!