Library /sys$common/syshlp/helplib.hlb
CXXLSTD, locales, toupper

 *Conan The Librarian

 			   Standard C++	Library
 		 Copyright 1996, Rogue Wave Software, Inc.

 NAME

   toupper - Converts a character to upper case.

 SYNOPSIS

   #include <locale>

   template <class charT>
   charT	toupper	(charT c, const	locale&	loc) const;

 DESCRIPTION

   The toupper returns the the parameter	c converted to upper 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

   tolower, locale, ctype

 STANDARDS CONFORMANCE
   ANSI X3J16/ISO WG21 Joint C++	Committee
  Close     Help