Re: Floats and %d
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Floats and %d
- From: Coda Highland <chighland@...>
- Date: 2015年7月21日 23:48:33 -0700
On Tue, Jul 21, 2015 at 11:33 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> BTW does anybody know if C makes any distinction between
> %d and %i? "man 3 printf" in Linux does not show any.
There's no difference for printf, but for scanf %d always interprets
the number as decimal while %i allows octal and hexadecimal,
distinguished by prefix.
/s/ Adam
- References:
- Floats and %d, Rena
- Re: Floats and %d, Parke
- Re: Floats and %d, Rena
- Re: Floats and %d, Roberto Ierusalimschy
- Re: Floats and %d, Rena
- Re: Floats and %d, Parke
- Re: Floats and %d, Dirk Laurie
- Re: Floats and %d, Tim Hill
- Re: Floats and %d, Dirk Laurie
- Re: Floats and %d, Daurnimator
- Re: Floats and %d, Roberto Ierusalimschy
- Re: Floats and %d, Rena
- Re: Floats and %d, Dirk Laurie