>Prelude, I've always been pretty confused about buffers. From
>your reply, I gather that characters only leave the buffer when
>scanf is successful, otherwise they just stay there?
Correct, if scanf fails then whatever is not read will remain in the stream.
>I've noticed that you are one of the main moderators here and
>you seem to really know your stuff. Do you do this while you're
Well, I'm not a moderator but I do spend a lot of time here. I'm usually around during the day when I'm at work and nothing is going on ( which is often ).