Original Post
In the Game Programming All In One book, the author uses virtual destructor''s in the programs in which he demonstrates Polimorphism and inheritence, I understand that if a derived class allocates memory using new, then the destructor must be virtual, however this is not the case in these examples, is he doing it merely because it''s something that you will more than likely have to do when using the above mentioned techniques? Or is there a reason i am unaware of?