Jump to content

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

From Wikibooks, open books for an open world

isprint

[edit | edit source]
Syntax
#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