Open main menu

Wikibooks β

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

< C++ Programming‎ | Code/Standard C Library‎ | Functions


#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