[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Re: Re: Fw: Infinite Joy Ride(example)
> characters it encounters terminate the conversion *and are left
> on the input stream*. Therefore, unless some other steps are
> taken, unexpected non-numeric input "jams" scanf() again and
> again: scanf() never gets past the bad character(s) to encounter
but even flushing the stream didn't help him.
r /\ |-| |_| |_
~~~~~~~~~~~~~~~~~~~~~~
Always remember you're unique.
Just like everyone else.
~~~~~~~~~~~~~~~~~~~~~~
The Northern Linux lug-northindia@xxxxxxxxxxxxxxx