title: Error Handling in C? How to deal with scanf and illegal characters?
body: <p>I'm writing a program in C, and for error handling it tells you to look for an illegal character when you're scanf-ing. In other words, look for a character that isn't an integer.
  It is supposed to display an appropriate error message and terminate the program. </p>
  
  <p>I'm a little confused as to how I go about looking for that illegal character, or noticing that it isn't an integer. Any help?</p>