

isdigit()             ctype Macro (ctype.h)             isdigit()




Check if a character is a numeral

#iinncclluuddee <ccttyyppee.hh>
iinntt iissddiiggiitt(_c) iinntt _c;

isdigit  tests whether  the argument  _c is  a numeral  (00-99).  It
returns a number  other than zero if _c is  a numeral, and zero if
it is not.  isdigit assumes that _c is an ASCII character or EEOOFF.

***** Example *****

For an example of how to use this macro, see the entry for ctype.

***** See Also *****

ASCII, ctype








































COHERENT Lexicon                                           Page 1


