|
Re: Dynamic Memory Allocation Woes
Thanks to everyone for the help. A few responses:
Yes, I realize that I am using a fixed amount of memory regardless. My main concern was being able to insert points within my list, as opposed to having a set sequence of points. I suppose this could be done with a three-dimensional array. The first two dimensions could hold my coordinates, and the third dimension could determine which indice of the array comes next. If I really want, I could also use some bitwise with the upper digit of the third value to determine if that array indice is in use.
Thanks for the ideas
Slavik
__________________
Last edited by slavik262 : 12-02-2008 at 16:22.
|