Re: how to check the scanf function if it will read more than one number
- From: Jordan Abel <random832@xxxxxxxxx>
- Date: 3 Jan 2006 23:14:24 GMT
On 2006-01-03, Chuck F. <cbfalconer@xxxxxxxxx> wrote:
> Richard Heathfield wrote:
>> Chuck F. said:
>>> Jordan Abel wrote:
>>>> On 2006-01-03, Chuck F. <cbfalconer@xxxxxxxxx> wrote:
>>>>
>>>>> No, it doesn't handle EOF. However, if you have flushln
>>>>> available you can write:
>>>>>
>>>>> #define flushstdin flushln(stdin)
>>>>
>>>> I've never heard of flushln - what systems does it exist on?
>>>>
>>>>
>>>>> although I don't know why you would bother.
>>>
>>> All you had to do was read this thread. I have published at
>>> least two realizations of flushln in it.
>>
>> Usenet is an asynchronous medium. Please don't assume that
>> everybody has been able to read all previous articles in a
>> thread. It is generally easy to skip around this problem; for
>> example, you could have said:
>>
>> "However, if you use flushln() available on your system (source
>> for the fflushln function is provided upthread) you can
>> write..."
>>
> He's even more careless than that. One of the flushln
> implementations was quoted in the article to which he replied, and
> he snipped it! So there is no doubt he saw it.
>
> Maybe he is one of the Wikipedia editors who are amusing you?
I didn't bother reading all the quoted text, and the text i did read
[and quote] said nothing to imply that it was a function you had written
in an earlier message - "if ___ is available on your system" implies (to
me) that it's a non-universally-available extension.
.
- Follow-Ups:
- Re: how to check the scanf function if it will read more than one number
- From: Keith Thompson
- Re: how to check the scanf function if it will read more than one number
- References:
- how to check the scanf function if it will read more than one number
- From: moosdau
- Re: how to check the scanf function if it will read more than one number
- From: Keith Thompson
- Re: how to check the scanf function if it will read more than one number
- From: moosdau
- Re: how to check the scanf function if it will read more than one number
- From: pemo
- Re: how to check the scanf function if it will read more than one number
- From: Richard Heathfield
- Re: how to check the scanf function if it will read more than one number
- From: pemo
- Re: how to check the scanf function if it will read more than one number
- From: Chuck F.
- Re: how to check the scanf function if it will read more than one number
- From: pemo
- Re: how to check the scanf function if it will read more than one number
- From: Chuck F.
- Re: how to check the scanf function if it will read more than one number
- From: Jordan Abel
- Re: how to check the scanf function if it will read more than one number
- From: Chuck F.
- Re: how to check the scanf function if it will read more than one number
- From: Richard Heathfield
- Re: how to check the scanf function if it will read more than one number
- From: Chuck F.
- how to check the scanf function if it will read more than one number
- Prev by Date: Re: how to check the scanf function if it will read more than one number
- Next by Date: Re: Input-line reverser
- Previous by thread: Re: how to check the scanf function if it will read more than one number
- Next by thread: Re: how to check the scanf function if it will read more than one number
- Index(es):