Jump to content

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

From Wikibooks, open books for an open world

ispunct

[edit | edit source]
Syntax
#include <cctype>
int ispunct( int ch );

The ispunct() function returns non-zero if its argument is a printing character but neither alphanumeric nor a space. Otherwise, zero is returned.

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