• 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: Parsing integers from strings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing integers from strings


  • Subject: Re: Parsing integers from strings
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 7 Oct 2008 13:02:13 -0600


On Oct 7, 2008, at 12:49 PM, Cyrus Najmabadi wrote:

Unfortunately, NSScanner seems insufficient.
It doesn't seem able to handle 64bit hexadecimal numbers. Also, i don't see
any facility for octal numbers.


For 64-bit hex numbers, as well as octal numbers, you can use strtoll(). See its man page for details.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Parsing integers from strings (From: "Cyrus Najmabadi" <email@hidden>)
 >Re: Parsing integers from strings (From: Randall Meadows <email@hidden>)
 >Re: Parsing integers from strings (From: "Cyrus Najmabadi" <email@hidden>)

  • Prev by Date: Getting the values from the selected row of a table?
  • Next by Date: Re: File's owner as target of button-action
  • Previous by thread: Re: Parsing integers from strings
  • Next by thread: Re: Parsing integers from strings
  • Index(es):
    • Date
    • Thread