This Microsoft support page shows that there is no Win32 equivalent to C Run-Time’s isdigit().
But there is IsCharAlphaNumeric and IsCharAlpha.
Intuitively, this leads me to:
IsCharAlphaNumeric() && !IsCharAlpha() is equivalent to (the non-existent) IsCharNumeric()
But I may be missing something…
Can I safely assume that the above is correct?
Without knowing the semantics of
IsCharAlphaNumeric()andIsCharAlpha(), there’s no way to determine whetherholds for all
c. And it might be reasonable that it doesn’t hold, for example hexadecimal digits can be both, numeric and alphabetic.In other words, you can not safely assume the equivalence.