Re: is order urgent doubt
- From: new to c <non@xxxxxxxxxxxx>
- Date: Mon, 2 Jun 2008 13:35:29 +0200 (CEST)
Bartc wrote:
"new to c" <non@xxxxxxxxxxxx> wrote in message
news:6468955.gypaU67uLZ@xxxxxxxxxxxxxxxx
I write big international program and need double integer. Why size is
different when other order?
Try: long long int
If you're lucky, this will have size 8.
Problem equal.
int i;
i = sizeof(long long int);
printf("%i", i);
i = sizeof(long int long);
printf("%i", i);
i = sizeof(int long long);
printf("%i", i);
First code warn nothing and print 8.
Second code warn "multiple use of 'long'" and print 4.
Third code warm "multiple use of 'longlong'" and print 8.
Why is different number? Is order urgent?
.
- Follow-Ups:
- Re: is order urgent doubt
- From: Keith Thompson
- Re: is order urgent doubt
- From: santosh
- Re: is order urgent doubt
- References:
- is order urgent doubt
- From: new to c
- Re: is order urgent doubt
- From: Keith Thompson
- Re: is order urgent doubt
- From: new to c
- Re: is order urgent doubt
- From: Bartc
- is order urgent doubt
- Prev by Date: Re: algorithm for finding Pi in C
- Next by Date: Re: example program
- Previous by thread: Re: is order urgent doubt
- Next by thread: Re: is order urgent doubt
- Index(es):
Relevant Pages
|