S
Saki Arkoudopoulos
Hello,
I'm trying to convert a string with mixed upper- and lowercase
characters to all lowercase characters.
I found the following code on the Internet:
transform(temp.begin(), temp.end(), temp.begin(), tolower);
But does anyone know which lib one has to include?
I've included:
#include <cctype>
#include <locale>
#include <algorithm>
#include <functional>
#include <string>
but none of these seem to do the job...
Thanks in advance,
Saki
I'm trying to convert a string with mixed upper- and lowercase
characters to all lowercase characters.
I found the following code on the Internet:
transform(temp.begin(), temp.end(), temp.begin(), tolower);
But does anyone know which lib one has to include?
I've included:
#include <cctype>
#include <locale>
#include <algorithm>
#include <functional>
#include <string>
but none of these seem to do the job...
Thanks in advance,
Saki