title: C++ map<string, vector<char> > access
body: <p>I've created a map of vectors that looks like this:</p>
  
  <pre><code>map&lt;string, vector&lt;char&gt; &gt; myMap;
  string key = "myKey";
  vector&lt;char&gt; myVector;
  myMap[key] = myVector;
  </code></pre>
  
  <p>I want to be able to append 'char's' to the vector in the map but I can't figure out how to access said vector to append once the particular key/value(vector) has been created. Any suggestions?  I'm iterating over char's and might be adding a lot to the vector as I go so it would be nice to have a simple way to do it.  Thanks.</p>
  
  <hr>
  
  <p>I would like the vector in map to be appended as I go.  I don't need the original vector...I just need to return the map of key/vector's that I've created (after apending) so that I can pass it to another function.  What does the * in map* > do?  Is that refrencing a pointer?  (I haven't gotten there in lecture yet)  Also, do I     need: 
      myMap[key]->push_back('s');
  or 
      myMap[key].push_back('s');
  ??</p>