Learn C++ practically
and Get Certified.
Popular Tutorials
Start Learning C++Certification Courses
Created with over a decade of experience and thousands of feedback.
Learn C++ practically
and Get Certified.
Try Programiz PRO!
Learn C++ practically
and Get Certified.
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.
C++ isalpha()
checks if given character is alphabet or not
C++ isblank()
checks if given character is a blank character
C++ isdigit()
Checks if given character is a digit or not
C++ islower()
checks if given character is lowercase
C++ ispunct()
check if given character is punctuation character
C++ isspace()
check if given character is whitespace character
C++ isupper()
check if given character is uppercase or not
C++ isxdigit()
checks if given character is hexadecimal character
C++ tolower()
Converts a given character to lowercase
C++ toupper()
Converts a given character to uppercase