Am I writing my code efficiently?Yes GTM, when you equip weapons, it goes into the vector which is in the gear class. Each weapon or ...
Am I writing my code efficiently?I started writing a base to a text base adventure game and I was wondering since I am pretty far in ...
Looping Iterator problemI have code which looks like this: [code] void Gear::equipArmor(Armor* &armor) { bool found =...
Add any object in VectorSorry I didn't explain it very well. I know I can do this but if I were to do this, then I cannot ac...
Add any object in VectorI have a class structure which is Armor->Weapon->Item . So The Weapon inherits Item and Armor inheri...