Don't use fflush(stdin)

This tip submitted by Shakti on 2005-01-15 03:58:36. It has been viewed 45834 times.
Rating of 5.6 with 265 votes



Using fflush(stdin) is incorrect. Check the FAQ more details why.









More tips

Help your fellow programmers! Add a tip!