I would like to know how to do this. Are there any functions specifically for it? Or do you have to do it manually?
SquirrelProdigy
0
Newbie Poster
Recommended Answers
Jump to Post#include <algorithm> #include <cctype> #include <iostream> #include <string> using namespace std; int lower_case ( int c ) { return tolower ( c ); } int main() { string s = "THIS IS A TEST"; transform ( s.begin(), s.end(), s.begin(), lower_case ); cout<< s <<endl; }
Before you …
All 4 Replies
Narue
5,707
Bad Cop
Team Colleague
SquirrelProdigy
0
Newbie Poster
trick
0
Unverified User
yangacer
-1
Newbie Poster
jonsca
commented:
Don't bump old threads
-1
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.