Personal tools
tolower
Click on the banner to return to the class reference home page.
tolower
Locale Convenience Function
Summary
Converts a character to lower case.
Data Type and Member Function Indexes
(exclusive of constructors and destructors)
None
Synopsis
#include <locale> template <class charT> charT tolower (charT c, const locale& loc) const;
Description
The tolower returns the parameter c converted to lower case. The conversion is made using the ctype facet from the locale parameter.
Example
// // toupper.cpp // #include <iostream> int main () { using namespace std; locale loc; cout << 'a' << toupper('c') << tolower('F') << endl; return 0; }
See Also
©Copyright 1996, Rogue Wave Software, Inc.