iscntrl. McGraw-Hill The Complete Reference Fourth Edition
Reklama
Reklama
C h a p t e r 2 6 : T h e S t r i n g a n d C h a r a c t e r F u n c t i o n s
725
Related functions are isalnum( ), iscntrl( ), isdigit( ), isgraph( ), isprint( ), ispunct( ), and isspace( ).
iscntrl
#include <cctype> int iscntrl(int ch);
The iscntrl( ) function returns nonzero if ch is between zero and 0x1F or is equal to
0x7F (DEL); otherwise zero is returned.
Related functions are isalnum( ), isalpha( ), isdigit( ), isgraph( ), isprint( ), ispunct( ), and isspace( ).
isdigit
#include <cctype> int isdigit(int ch);
The isdigit( ) function returns nonzero if ch is a digit, that is, 0 through 9. Otherwise zero is returned.
Related functions are isalnum( ), isalpha( ), iscntrl( ), isgraph( ), isprint( ), ispunct( ), and isspace( ).
isgraph
#include <cctype> int isgraph(int ch);
The isgraph( ) function returns nonzero if ch is any printable character other than a space; otherwise zero is returned. These are characters generally in the range 0x21 through 0x7E.
Related functions are isalnum( ), isalpha( ), iscntrl( ), isdigit( ), isprint( ), ispunct( ), and isspace( ).
islower
#include <cctype> int islower(int ch);
Stáhnout
Reklama