This shows you the differences between two versions of the page.
cpp:cctype [2012/10/12 15:40] |
cpp:cctype [2024/02/16 00:48] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== cctype ====== | ||
+ | |||
+ | ==== character classification ==== | ||
+ | |||
+ | ^ Function ^ Description ^ | ||
+ | | [[cpp:cctype:isalnum|]] |checks if char is alphanumeric | | ||
+ | | [[cpp:cctype:isalpha|]] |checks if char is alphabetic | | ||
+ | | [[cpp:cctype:isascii|]] |checks if char is an ascii char | | ||
+ | | [[cpp:cctype:isblank|]] |checks if char is blank | | ||
+ | | [[cpp:cctype:iscntrl|]] |checks if char is a control char | | ||
+ | | [[cpp:cctype:isdigit|]] |checks if char is a digit | | ||
+ | | [[cpp:cctype:isgraph|]] |checks if char is printing character except space (' ') | | ||
+ | | [[cpp:cctype:islower|]] |checks if char is lowercase | | ||
+ | | [[cpp:cctype:isprint|]] |checks if char is printable | | ||
+ | | [[cpp:cctype:ispunct|]] |checks if char is a punctuation char | | ||
+ | | [[cpp:cctype:isspace|]] |checks if char is space | | ||
+ | | [[cpp:cctype:isupper|]] |checks if char is uppercase | | ||
+ | | [[cpp:cctype:isxdigit|]] |checks if char is hexadecimal | | ||
+ | |||
+ | |||
+ | |||
+ | ==== convert functions ==== | ||
+ | |||
+ | ^ Function ^ Description ^ | ||
+ | | [[cpp:cctype:toascii|]] |converts a char to ascii | | ||
+ | | [[cpp:cctype:tolower|]] |converts a char to lowercase | | ||
+ | | [[cpp:cctype:toupper|]] |converts a char to uppercase | | ||
+ | |||
+ | |||
+ | |||