If a 2d array is allocated memory in this fashion, how should it be deleted?
MyObject **lastJobs, **lastMachines ;
lastJobs = new MyObject*[getNbJobs()] ;
lastMachines = new MyObject*[getGreatestMachineNb()] ;
does this suffice:
delete[] lastJobs;
delete[] lastMachines;