Remove element from vector while iterating over itI see what you mean. Just tried adding i-- after the erase call, but now I get "Expression: vector i...
Remove element from vector while iterating over it[code] for(vector<Switch>::iterator i = switchVector.begin(); i != switchVector.end(); i++){ if(pl...
Remove element from vector while iterating over itHi, I'm trying to remove an element from a vector while iterating over it. Initially I was using ...
This user does not accept Private Messages