Re: Parsing integers from strings
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