ispunct

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, isprint, isspace, isxdigit