use map to find object

Mar 6, 2012 at 7:20am
I need to use a map [and possibly an iterator] to traverse a vector and change the priority of an object. Can someone explain how to do so?

Mar 6, 2012 at 10:59am
First you need to find a map of the right vector. Once you do that you can look up the address of your object, get in your car, drive over and change it's priority.
Mar 7, 2012 at 1:58am
I don't know how to implement a map and have it search through a vector. I understand the general idea, but not how to actually code it.
Mar 7, 2012 at 9:14am
Generally, containers don't search containers.

I understand the general idea

Do tell.

Topic archived. No new replies allowed.