C++:Lower Case
From Progzoo
Jump to navigation
Jump to search
C++:String Functions
Contains
Ends With
Equal Strings
Find Position
Formatting
Using Print Formatting
Lower Case
Join Strings
Starts With
String Length
Special Characters
Split a String
Substring
Upper Case
.
#include <algorithm> #include <cctype> static void demo(string s){ string result = s; transform(s.begin(), s.end(), result.begin(), (int(*)(int)) tolower); cout << s << "\t" << result <<endl; }
[
Font
] [
Default
] [
Show
] [
Resize
] [
History
] [
Profile
]
test text
Navigation menu
Personal tools
Create account
Log in
Namespaces
C++
Discussion
Variants
Views
Read
View source
View history
More
Search
Languages
Java
C#
C++
Perl
PHP
Python
Ruby
VB
Scala
Progzoo Sections
ProgZoo
Tutorials
How to...
Assessments
Help
Other
To do list
Recent changes
Progress
Random page
Toolbox
What links here
Related changes
Special pages
Printable version
Permanent link
Page information