Stumped

Pages: 12
Catfish,
It has to do with polymorphism, ensuring that the derived class' destructor is called. In general, it's just good practice to make base class' destructor virtual

We just went over this in the lecture, I now know why.

TIM and ne555, thanks for the suggestions, will keep all of that in mind on this weeks assignment. I know what the assignments are asking me to do is not the best way, not sure if that is part of the learning curve or just giving me bad habits.

I appreciate everyone's help!!!!!
Topic archived. No new replies allowed.
Pages: 12