Changing element of vector does not persist or does iteration make a copyCorrect, I just prefer a temp variable...
Changing element of vector does not persist or does iteration make a copyJust to illustrate I changed the top loop to: [code] std::string* word = &(*iter); ...
Changing element of vector does not persist or does iteration make a copyI see, the = operator does a copy. Very interesting!
Changing element of vector does not persist or does iteration make a copyI a noob, so I apologize in advance. :) Based on the following code: [code] std::vector<std::str...
This user does not accept Private Messages