title: printing the vector in a map
body: <p>I have a map defined by:</p>
  
  <pre><code>map &lt; char, vector &lt; unsigned char&gt;&gt; dict;
  </code></pre>
  
  <p>After a function generates and adds the contents to this dictionary, I want to next iterate through and print each key:value pair in a loop.</p>
  
  <pre><code>for(auto it = dict.begin(); it != dict.end(); ++it)
  {
      cout &lt;&lt; it.first &lt;&lt; " : ";
      // how to output the vector here? since the len of value differs
      // for each key I need that size
      for( unsigned int s = it.size()
  }
  </code></pre>
  
  <p>How can I get the size of the value from the iterator so that I can iterate throught he vector to output it.</p>