Quote:
Originally Posted by
shamrock
I am not sure as to what part of an array of pointers to struct type dont you get...
I get it. I just don't understand what makes you think it's anything like a vector.
Quote:
its vectorized as each can be located anywhere in memory
C++ vectors
are stored contiguously in memory, and allocated together, not individually. You may be thinking of sparse memory, like a C++ map<>?
Except this is a poor way to do sparse memory, too. You'd do that with a list of some sort, so you don't even store NULL pointers for empty elements.
What you've got could be used to build a hash table, perhaps.