Use `#include <cctype>` if you're using `isdigit` from namespace `std`.