Re: [NEWBIE] Arrays

From: Jourge Fuzz Bush (modem-burn@GEOCITIES.COM)
Date: 10/27/98

No. There is quite a difference from what george wrote and what I was
looking for. I will admit I didn't understand it fully (the create). But
after taking a look at the code for the create macro there arose to many
problems that a simple static array would fix. I was looking for an
answer that did not require me to "explicitly" define the size because I
didn't really want to put a cap limit on the number of people who can
die without reclaiming there bodybags and I didn't want to waist memory
that wasn't used. But I guess I will have to write some clean-up
procedures based on time of death and time on the mud. I think I even
did try defining the size of the array "explicity" but it didn't work. I
must have messed it up somewhere along the line. But thankyou everyone
for your help.

        - Matt
Stephen Wolfe wrote:
> > Anybody know how to declare a struct like I'm using. And please don't
> > say to use the create function because it don't apply to what I'm using
> > it for.
> if you want an array of pointers, you'll either have to declare the size
> of the array (either explicitly or implicitly) or use the CREATE or
> RECREATE MACROS to dynamically change the size of the array when you want
> to store data to it..get a c about pointers and dynamic memory
> answered this question the last time you posted it, but
> you obviously didn't understand a word he said..
> siv

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST