Because you probably had a stream error, possibly eof(). Once you get a stream error no further processing will take place on that stream until you clear the error. You could probably have cleared...