Re: is order urgent doubt



jacob navia wrote, On 03/06/08 07:21:
new to c wrote:

<snip>

Code print

sizeof(long int): 4
sizeof(int long): 4
sizeof(double int): 4
sizeof(int double): 8
sizeof(long long int): 8
sizeof(long int long): 4

<snip>

Jacob, in addition to Keith's questions did you notice that the above is wrong? As "long int long" is the same as "long long" the above should be 8.

<snip>

Maybe this will clarify what lcc-win is doing.

Those warnings made it clearer in my opinion, but I agree with Keith's comments.
--
Flash Gordon
.



Relevant Pages

  • Re: c / c++ : is it end of era ?
    ... jacob navia writes: ... int main{ ... Subtracting time_t values is not a good way to measure performance. ... So memchr is significantly faster on some systems, ...
    (comp.lang.c)
  • Re: Overview
    ... jacob navia wrote: ... Win32 API functions, ). ... invoking the INT 0x2E interface. ...
    (comp.lang.c)
  • Re: what does this warning mean ?
    ... jacob navia writes: ... int foo() ... Because the function definition of foo DOES NOT GIVE A PROTOTYPE ... main (but Mark never said that it does). ...
    (comp.lang.c)
  • Re: Variable length arrays
    ... jacob navia writes: ... lcc-win, so I can't test it myself. ... where the size of the VLA is *not* a loop invariant, ... int tab; ...
    (comp.lang.c)
  • Re: Storing variable length data in file -- Paging
    ... |> jacob navia wrote: ... |>:You store the length of the data, ... int to hold the length then the limit will be 4 GB no matter what ... the point is that you should be chosing the limit ...
    (comp.lang.c)