C++ Programming/Code/Standard C Library/Functions/iscntrl

From Wikibooks, open books for an open world
Jump to navigation Jump to search

iscntrl[edit | edit source]

#include <cctype>
int iscntrl( int ch );

The iscntrl() function returns non-zero if its argument is a control character (between 0 and 0x1F or equal to 0x7F). Otherwise, zero is returned.

Related topics
isalnum - isalpha - isdigit - isgraph - isprint - ispunct - isspace - isxdigit