Re: Base Conversion?
Re: Base Conversion?
- Subject: Re: Base Conversion?
- From: Scott Ribe <email@hidden>
- Date: Sat, 16 Jul 2005 21:36:13 -0600
Assuming you don't mind converting to & from plain C strings, for parsing,
you can use strtol. For display I don't know of a built-in function. The
usual approach is have a static array of 23 characters, loop building the
string up by num# and setting num=num\23 each time through...
--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden