Re: scanf to handle double
- From: "Old Wolf" <oldwolf@xxxxxxxxxxxxxx>
- Date: 2 Nov 2005 20:26:53 -0800
Red Dragon wrote:
> Mike Wahler wrote:
>
>> scanf("%lf", &a);
>
> With your help I learnt something today.
Note that printf still uses "%f" for doubles. Don't try using
"%lf" with printf as it may not work.
.
- Follow-Ups:
- Re: scanf to handle double
- From: Red Dragon
- Re: scanf to handle double
- From: Mike Wahler
- Re: scanf to handle double
- References:
- scanf to handle double
- From: Red Dragon
- Re: scanf to handle double
- From: Mike Wahler
- Re: scanf to handle double
- From: Red Dragon
- scanf to handle double
- Prev by Date: Re: [OT] Re: computer programming
- Next by Date: Re: scanf to handle double
- Previous by thread: Re: scanf to handle double
- Next by thread: Re: scanf to handle double
- Index(es):
Relevant Pages
|