User profile: brocknoland

User info
User name:brocknoland
History
Joined:
Number of posts:4
Latest posts:

Changing element of vector does not persist or does iteration make a copy
Correct, I just prefer a temp variable...

Changing element of vector does not persist or does iteration make a copy
Just 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 copy
I see, the = operator does a copy. Very interesting!

Changing element of vector does not persist or does iteration make a copy
I a noob, so I apologize in advance. :) Based on the following code: [code] std::vector<std::str...

This user does not accept Private Messages

User: brocknoland

  • Public profile