If I have a dynamically allocated array of objects with destructors defined, and I use delete[] on the array, will all the destructors be called?
If I have a dynamically allocated array of objects with destructors defined, and I use delete[] on the array, will all the destructors be called?
yes, they will. make sure you include the square brakcets though , or memory leaks for all
Ph33r the sphericalCUBE ™