Horje
convert whole string to lowercase c++ Code Example
convert whole string to lowercase c++
#include<bits/stdc++.h> 
using namespace std; 
main() { 
    string s = "Viet Nam"; 
    transform(s.begin(), s.end(), s.begin(), ::tolower); //lowercase
    cout << s << endl; 
}




Cpp

Related
c++ string to wstring Code Example c++ string to wstring Code Example
max three values c++ Code Example max three values c++ Code Example
print array c++ Code Example print array c++ Code Example
unity failed to load window layout Code Example unity failed to load window layout Code Example
how to output to console c++ Code Example how to output to console c++ Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7