Original Post
I have this base class called CObject.
it is basically for my game engine, so the pure virtual functions I have is Render(...), and thats about it.
First of all, I noticed that any derived class from CObject
like this:
...doesn''t call it''s destructor when i delete it, even though the constructor is called.
So the question(s):
1) how do i get constructors and destructors to work in derived classes??
2) what other methods would be useful in a game-based Base class like CObject?
CObject *obj = new Derived;