Hi,
I'm writing a 3D game. I need to be able to save variable no. of polygons in every sector. Hence, I think I will be storing them in some kind of list.
Any recommendations/ideas?
or may I create my own list class, for which i require to know how to redimensionalize an array/dynamically or whatever, without destroying the data it already contains?
for e.g.
if i have an array which has got five integers in it.
int *a=new int [5];
fill_all_elements_of_a();
now if i want to store another integer in the same array ??? what do i do ?
the proposed way should b quick .... plz help