On Thu, Feb 4, 2010 at 9:44 AM,  <[email protected]> wrote:

> hi Abhijeet,
>
> Try
> fflush(stdin);

As clearly pointed out in the message to which you replied, fflush()
is not defined for input streams, only output streams.

stdin is an input stream, therefore you should not call fflush() on it.

-- 
PJH

http://shabbleland.myminicity.com/ind
http://www.chavgangs.com/register.php?referer=9375

Reply via email to