jeudi 27 novembre 2014

Error when using function tolower


Vote count:

0




I have a problem when calling the function tolower locale throws me the following error:


Error: "no matching function for call to 'tolower'


this is my code:



int main()
{

vector<string> text = load_vector(filename);

sort(text.begin(), text.end());

for (unsigned int i=0; i<text.size(); i++)
text [i] = tolower (text[i], loc);

return 0;
}


Because throws me this error?



asked 34 secs ago







Error when using function tolower

Aucun commentaire:

Enregistrer un commentaire