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

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

isspace[edit]

Syntax
#include <cctype>
int isspace( int ch );

The isspace() function returns non-zero if its argument is some sort of space (i.e. single space, tab, vertical tab, form feed, carriage return, or newline). Otherwise, zero is returned.

Related topics
isalnum - isalpha - iscntrl - isdigit - isgraph - isprint - ispunct - isxdigit