tolower(3C++)
Standard C++ Library
Copyright 1998, Rogue Wave Software, Inc.
NAME
tolower
- Converts a character to lower case.
SYNOPSIS
#include <locale>
template <class charT>
charT tolower (charT c, const locale& loc) const;
DESCRIPTION
The tolower function returns the parameter c after converting it 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
toupper, locale, ctype
Rogue Wave Software — Last change: 02 Apr 1998