W3cubDocs

/C++

Standard library header <cctype>

This header was originally in the C standard library as <ctype.h>.

This header is part of the null-terminated byte strings library.

Functions

checks if a character is alphanumeric
(function)
checks if a character is alphabetic
(function)
checks if a character is lowercase
(function)
checks if a character is an uppercase character
(function)
checks if a character is a digit
(function)
checks if a character is a hexadecimal character
(function)
checks if a character is a control character
(function)
checks if a character is a graphical character
(function)
checks if a character is a space character
(function)
(C++11)
checks if a character is a blank character
(function)
checks if a character is a printing character
(function)
checks if a character is a punctuation character
(function)
converts a character to lowercase
(function)
converts a character to uppercase
(function)

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);
}

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/header/cctype