Re: Initializing an Array
Re: Initializing an Array
- Subject: Re: Initializing an Array
- From: Ondra Cada <email@hidden>
- Date: Wed, 23 Jan 2002 00:12:33 +0100
Jeff,
>
>>>>> Jeff Galyan (JG) wrote at Tue, 22 Jan 2002 13:30:35 -0700:
JG> int aNumber;
JG> [myString getCString:buffer];
JG> aNumber = (int)strtol( buffer, &tail, 0 );
Apropos, I would rather use intValue and rangeOfCharacterFromSet to reach
the same goal (so far as I can guess how strtol works) entirely inside Cocoa.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
2K Development: email@hidden
http://www.2kdevelopment.cz
private email@hidden
http://www.ocs.cz/oc