title: Using fflush(stdin)
body: <p>So a quick Google search for <code>fflush(stdin)</code> for clearing the input buffer reveals numerous websites warning against using it. And yet that's exactly how my CS professor taught the class to do it.</p>
  
  <p>How bad is using <code>fflush(stdin)</code>? Should I really abstain from using it, even though my professor is using it and it seems to work flawlessly?</p>