i did these function for uppercase:
string Upper(string text)
{
string result;
result.resize(text.size());
for(int i=0; i<text.size(); i++)
{
if(text[i]>96 && text[i]<123)
result[i]= text[i]-32;
result[i]=text[i];
}
return result;
}
but i'm getting the wrong results :(
what i'm doing wrong?