Re: a c question
Re: a c question
- Subject: Re: a c question
- From: Andy Armstrong <email@hidden>
- Date: Tue, 7 Feb 2006 11:39:39 +0000
On 7 Feb 2006, at 11:29, Robert Dell wrote:
the basic question I need answered is how do i implement open ended
arrays? that is an array that does not have any upper limits, more
items can be added as time goes on.
This isn't a Cocoa question is it? In Cocoa you'd use a
NSMutableArray - but that's not going to do your homework for you.
In C you need to implement a growable array yourself - check out
realloc().
--
Andy Armstrong, hexten.net
_______________________________________________
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
References: | |
| >a c question (From: Robert Dell <email@hidden>) |