Re: is order urgent doubt



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?


.



Relevant Pages

  • TableAdapter, INNER JOINs, stored procs, and problems with Update
    ... I have a stored procedure that uses JOINs to return columns from multiple ... I also have another stored proc that that takes a series of params ... @ac2 int, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: More optimal version of this code
    ... > I am trying to optimise one particular function in SSE2- I am not ... > int mulcoeff ... Matt had multiple useful ideas for a P4 implementation! ... If you are not the intended recipient, ...
    (comp.lang.asm.x86)
  • [PATCH] ehea: Optional TX/RX path optimized for SMP
    ... can sort TCP traffic to multiple receive queues to be processed by ... the driver in parallel on multiple CPUs. ... This alternative packet processing functionality leads to ... module_param(msg_level, int, 0); ...
    (Linux-Kernel)
  • Re: An overflow case that puzzles me
    ... What makes you think the second argument is of type unsigned int? ... it is probably not a multiple of 11. ... Given all this, I have seen some compilers return 0 unconditionally, ...
    (comp.lang.c)
  • [PATCH 2/2] shpchp: Rename duplicate slot name N as N-1, N-2, N-M...
    ... to help work around broken firmware that assigns the same name to multiple ... The second registered slot is assigned N-1 ... int shpchp_poll_mode; ...
    (Linux-Kernel)