std::toupper

From Cppreference

Jump to: navigation, search
Defined in header <cctype>

int toupper( int ch );

Converts the given character to uppercase.

[edit] Parameters

ch - character to be converted

[edit] Return value

converted character or ch if no such conversion was possible

[edit] See also

tolower
converts a character to lowercase
(function)
toupper(std::locale)
converts a character to uppercase using the ctype facet of a locale
(function template)
towupper
converts a wide character to uppercase
(function)