Confused about erasing elements in STL vectorI fixed the problem by adding [CODE] for(int k = 0; k < selected.size(); ++k) --selected[k]; [...
Confused about erasing elements in STL vectorI see. But how would I go about fixing the pointers in selectedHumans? Would using another containe...
Confused about erasing elements in STL vectorHi. Let's say we got : std::vector<Human> humans; std::vector<Human*> selectedHumans; You ...
This user does not accept Private Messages