Standard library header - cppreference.com (original) (raw)

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]

[edit] Synopsis

namespace std { int isalnum(int c); int isalpha(int c); int isblank(int c); int iscntrl(int c); int isdigit(int c); int isgraph(int c); int islower(int c); int isprint(int c); int ispunct(int c); int isspace(int c); int isupper(int c); int isxdigit(int c); int tolower(int c); int toupper(int c); }