Old

Started by
1 comment, last by Robert Colton 16 years, 3 months ago
Old [Edited by - Robert Colton on March 1, 2008 9:51:41 AM]
Advertisement
Why not instead of creating an array of objects (Objects(500) As Object)

I'm not sure what language you're using, but you need some kind of dynamic container for the objects.

If you're in C++ you could use an std::vector<Objects> ObjectVector;

You could then simply add new objects to the vector as you create them, one by one, instead of 500 at a time.

Like So:


ObjectVector.push_back(new Object);


Old

[Edited by - Robert Colton on March 1, 2008 9:05:22 AM]

This topic is closed to new replies.

Advertisement