Re: 64 bit continued
Re: 64 bit continued
- Subject: Re: 64 bit continued
- From: Peter O'Gorman <email@hidden>
- Date: Thu, 27 Dec 2007 10:29:15 -0600
email@hidden wrote:
> so far i found that there exist multiple format strings
> depending on the os... %Ld and %zd some people mention
> i should use a PRid64 macro but this does not seem to
> work also
Jean-Daniel has already answered, but including inttypes.h and using the
PRI macros should work fine (it is standard c99).
printf("The answer is %" PRId8 "!\n",42);
Works for me.
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden