I have a class named ScriptMarker which is initialised by Mission as a parameter in the constructor.
ScriptMarker* pStartMarker = new ScriptMarker(pMission);
And it is deleted this way.
pStartMarker = NULL;
So how will I able to make an array of class all initialised with the same parameter and how will I be able to delete it safely?