View Single Post
Team Leader
15Mar2007,11:38  
DaWei's Avatar
Unfortunately, fflush (stdin) is not part of the standard. Some compilers support it, some don't. Fflush, per the standard, is for output. rewind (stdin), however, will do the job, although it sounds goofy.