3
nkromin
7y

Why don't people use Ctype.h in C for verifying whether the input is alphanumeric or not? Why bother with the long ass if, when you can just have the result with a simple function?

Comments
  • 3
    Used to use if statements until I found out about ctype. Saves so much time.
  • 2
    @succ definitely
  • 0
    I usually find myself using it for uint_8/16/etc types.
    But yea the isalpha/numeric functions are really handy too.
Add Comment