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

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

isxdigit[edit | edit source]

#include <cctype>
int isxdigit( int ch );

The function isxdigit() returns non-zero if its argument is a hexadecimal digit (i.e. A-F, a-f, or 0-9). Otherwise, zero is returned.

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