Accessing vector's contents via the iterator

The code is here:

http://ideone.com/JgXkmG

The problem I'm having is I can't figure out how to adress the iterator so I can access my vector's contents, on line 20. Couldn't figure out by reading everywhere or asking anyone.
1) Your definition (prototype) of hash must come before it is used; put it above main.
2) Iterators act like pointers: use iter->member to access elements (or (*iter).member)
Thank you!
Topic archived. No new replies allowed.