Walt Mankowski on 27 Apr 2004 01:59:02 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Re: #define for 32 vs 64 bit C program?


On Mon, Apr 26, 2004 at 06:43:13PM -0400, Chip Salzenberg wrote:
> If you can't count on the 'z' then you need to cast the value to a
> known type, and long is a good choice:
> 
>   printf("There are %lu elements\n", (unsigned long)v.size());

That seems like the ideal solution for my application.

Thanks!

Walt

Attachment: signature.asc
Description: Digital signature