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

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

ispunct[edit]

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