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

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

isprint[edit | edit source]

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

The function isprint() returns non-zero if its argument is a printable character (including a space). Otherwise, zero is returned.

Related topics
isalnum - isalpha - iscntrl - isdigit - isgraph - ispunct - isspace