Hi Paul, Can you clear little bit on this : " fflush() is not required to work with stdin (or with cin.)"
Regards Vishal On 3/20/07, Paul Herring <[EMAIL PROTECTED]> wrote: > > On 19 Mar 2007 20:38:07 -0700, vishal thakur <[EMAIL > PROTECTED]<lahsiv.vishal%40gmail.com>> > wrote: > > I think flushing buffer (fflush(stdin), if using stdin as your stream) > will > > solve your problem, but flush will work in case of stdin but it will not > > give desired output for file stream > > fflush() is not required to work with stdin (or with cin.) > > -- > PJH > Aio, quantitas magna frumentorum est > > -- Regards Vishal Thakur +919871892410 [Non-text portions of this message have been removed]
