.\" ident @(#)toupper.3 .\" Standard Template Library .\" $$RW_INSERT_HEADER "slyrs.man" .TH toupper 3C++ "02 Apr 1998" "Rogue Wave Software" "-" .ce2 Standard C++ Library Copyright 1998, Rogue Wave Software, Inc. .SH NAME \f2toupper\fP \ - Converts a character to upper case. .SH SYNOPSIS .br #include .br template .br charT toupper (charT c, const locale& loc) const; .SH DESCRIPTION The toupper function returns the parameter \f2c\fP after converting it to upper case. The conversion is made using the ctype facet from the locale parameter. .SH EXAMPLE .br // .br // toupper.cpp .br // .br #include .br .br int main () .br { .RE .RS 1 using namespace std; .br locale loc; .br cout << 'a' << toupper('c') << tolower('F') << endl; .br .br return 0; .RE .RS 0 } .SH SEE ALSO tolower, locale, ctype