Standard library header <cctype> - cppreference.com

From cppreference.com

This header was originally in the C standard library as

<ctype.h>

.

This header is part of the

null-terminated byte strings

library.

Functions

isalnum

checks if a character is alphanumeric
(function)

[edit]

isalpha

checks if a character is alphabetic
(function)

[edit]

islower

checks if a character is lowercase
(function)

[edit]

isupper

checks if a character is an uppercase character
(function)

[edit]

isdigit

checks if a character is a digit
(function)

[edit]

isxdigit

checks if a character is a hexadecimal character
(function)

[edit]

iscntrl

checks if a character is a control character
(function)

[edit]

isgraph

checks if a character is a graphical character
(function)

[edit]

isspace

checks if a character is a space character
(function)

[edit]

isblank

(C++11)

checks if a character is a blank character
(function)

[edit]

isprint

checks if a character is a printing character
(function)

[edit]

ispunct

checks if a character is a punctuation character
(function)

[edit]

tolower

converts a character to lowercase
(function)

[edit]

toupper

converts a character to uppercase
(function)

[edit]

Synopsis

namespacestd{intisalnum(intc);intisalpha(intc);intisblank(intc);intiscntrl(intc);intisdigit(intc);intisgraph(intc);intislower(intc);intisprint(intc);intispunct(intc);intisspace(intc);intisupper(intc);intisxdigit(intc);inttolower(intc);inttoupper(intc);}