Hi, for a class, I'm trying to implement a separate-chaining hash table stored in a vector that contains pointers to vectors where the keys will be stored. This is basically what I have:
typedef vector<string> KeyChain; vector<KeyChain *> Table;
The problem I'm having is when I want to access the keys in the KeyChain, I don't know how to get to those values, this is what I've tried:
What is the syntax for accessing the items in a vector that is referenced with a pointer in another vector? Thank you for your help!