Hi I need an hint; I need a vector of an object myObj; its size are from 1 to 8; but I should must delete object also; so I'm thinking to use vector <myObj> obj; but its use is that: I must delete object in evey position of vector (ie elemet 4 and not destroy 5,6,7,8). Furthermore I need to know the index of element; Do I use a map? What's better for this?
Thanks