• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 64 bit continued
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >64 bit continued (From: email@hidden)

  • Prev by Date: Re: NSValue/initWithBytes
  • Next by Date: Re: How to remove depracated custom Class in nib?
  • Previous by thread: Re: 64 bit continued
  • Next by thread: Re: 64 bit continued
  • Index(es):
    • Date
    • Thread