C++ cctype | Programiz D11 Phase 2 Skip to main content

C++ <cctype>

The C++ <cctype> header file declares a set of functions to classify (and transform) individual characters. For example, isupper() checks whether a character is uppercase or not.

checks if given character is alphabet or not

checks if given character is a blank character

Checks if given character is a digit or not

checks if given character is lowercase

check if given character is punctuation character

check if given character is whitespace character

check if given character is uppercase or not

checks if given character is hexadecimal character

Converts a given character to lowercase

Converts a given character to uppercase