toupper


toupper

Converts a lowercase alphabetic character to uppercase

 #include <ctype.h> int toupper ( int c  ); 

The tolower( ) function returns the uppercase letter corresponding to the character value of its argument c. If c is not an lowercase letter, or if there is no uppercase letter which corresponds to it, its value is returned unchanged.

The note concerning locales under tolower( ) in this chapter applies to toupper( ) as well.


Example

See the example for setlocale( ) in this chapter.

See Also

isupper( ), tolower( ), islower( ), towupper( ), towlower( ), towctrans( )



C(c) In a Nutshell
C in a Nutshell (In a Nutshell (OReilly))
ISBN: 0596006977
EAN: 2147483647
Year: 2006
Pages: 473

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net