On 19 Mar 2007 20:38:07 -0700, vishal thakur <[EMAIL PROTECTED]> 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

Reply via email to