|
-
Dec 6th, 2004, 04:13 PM
#1
Thread Starter
Hyperactive Member
most appropriate data structure
Hi all,
I am currently writing a completely object oriented graphical application. I have a certain type of object that at some points in the program will not exist at all, but at other points there ay be numerous instances of this object.
I want some sort of data structure to hold all of the objects of this type, so that I can easily perform actions on all of them. I'm thinking something along the lines of a stack or queue (from Java), as I will be adding and taking away from this list of objects frequently.
As my VB is a bit rusty (and never was too great anyway), I wanted to do this with a dynamic array, but this certainly doesnt seem like the best option due to arrays' limitations. Are there any other structures I can use, or a way I can manipulate dynamic arrays to model the behaviour I need?
Thanks a lot!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|