arrays

From: Fafhrd (fafhrd@ROTD.COM)
Date: 10/07/98


Is there a way to dynamically create an array of integers? Like I can malloc
what I need for a struct on the fly, but I need to do so for a simple array.
eg, I have array[10][10][10] which consumes lots of ram and may not be
needed. I might need 10, I might need 5.
This is probably such a simple thing, Ill be embarrassed, but for the life
of me I can't find the answer...

Erik Madison
ICQ #13940294
fafhrd@rotd.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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