Null-terminated byte strings
From cppreference.com
A null-terminated byte string (NTBS) is a possibly empty sequence of nonzero bytes followed by a byte with value zero (the terminating null character). Each byte in a byte string encodes one character of some character set. For example, the character array {'\x63', '\x61', '\x74', '\0'} is an NTBS holding the string "cat" in ASCII encoding.
Contents |
[edit] Functions
Character classification | |
Defined in header
<cctype> | |
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) | |
Character manipulation | |
converts a character to lowercase (function) | |
converts a character to uppercase (function) |
ASCII values | characters |
---|