On Aug 23 2007 09:26, Andreas Jaeger wrote:
>
>I suggest to use:
>#include <inttypes.h>
>
>int
>main (void)
>{
> int64_t var;
>
> printf ( PRIi64, var);
> ...
>}
>
>The PRT* macros from inttypes.h and the standard integer types from
><stdint.h> will do the magic for you,
Bwäh. printf("%llu", (unsigned long long)var); is much more readable
and does not provide any surprises.
Jan
--
