Quote Originally Posted by mickey
Anther question: the vector <Light> is member of a Class A; I putted only delete [] l inside the destructor of A; Is it stiil necessary the vector destructor as you write and clear()? If I destruct the class that contatin vector....
No, you don't have to --- the vector will clear itself when you destroy it.

Quote Originally Posted by mickey
Furthermore in the first case: coding delete [] *i; Are you deleting the same space of memory more time? There's only one array of Light[10]....
If there is only one array, you don't need the vector.