Don't use fflush(stdin)

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



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









More tips

Help your fellow programmers! Add a tip!