Contact: aviboots(AT)netvision.net.il
40,039 questions
52,004 answers
573 users
#include <iostream> using namespace std; int main() { char ch = 'Z'; ch = tolower(ch); cout << ch << endl; cout << (char)tolower('A') << endl; return 0; } /* run: z a */
#include <iostream> #include <algorithm> #include <string> using namespace std; int main() { string ch = "Z"; transform(ch.begin(), ch.end(), ch.begin(), tolower); cout << ch << endl; return 0; } /* run: z */