I'm making a text-RPG. I have a Room class and Monster class (I'm sure you can tell what they are for.)
I would like a Monster object in every Room object as a private data member. My question is, should this be on the free store or just a regular member on the stack?
orCode:... private: Monster mob;
What are the advantages of using each? Am I being to vague*?Code:... private: Monster * mob;