View Single Post
  #5   Spotlight this post!  
Unread 12-02-2008, 16:15
slavik262's Avatar
slavik262 slavik262 is offline
We do what we must because we can.
AKA: Matt Kline
FRC #0537 (Charger Robotics)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Sussex, WI
Posts: 310
slavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to beholdslavik262 is a splendid one to behold
Send a message via AIM to slavik262
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.