#include int isspace(int c) { switch (c) { case ' ': case '\t': case '\v': case '\f': case '\r': case '\n': return 1; default: return 0; } } int isdigit(int c) { return c - '0' > -1 && c - '0' < 10; }