Re: scanf behaviour
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Fri, 24 Nov 2006 22:58:55 +0000
Ian Collins said:
Add
fflush( stdin );
No, don't do that. The behaviour of fflush on streams open for input is
undefined.
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
.
- Follow-Ups:
- Re: scanf behaviour
- From: Ian Collins
- Re: scanf behaviour
- References:
- scanf behaviour
- From: stasgold
- Re: scanf behaviour
- From: Ian Collins
- scanf behaviour
- Prev by Date: Re: Question regarding fgets and new lines
- Next by Date: Re: Most Interesting Bug Track Down
- Previous by thread: Re: scanf behaviour
- Next by thread: Re: scanf behaviour
- Index(es):
Relevant Pages
|
|