map contains value as a list+how to print in C++
<p>I have a map having strings as keys and lists of file names as values.
ex: <code>Map(firstDir, list(file1,file2,file3))</code></p>

<p>I know that by using following code I can print value which is of String</p>

<pre><code>{
    cout &lt;&lt; "Key: " &lt;&lt; pos-&gt;first &lt;&lt; endl;
    cout &lt;&lt; "Value:" &lt;&lt; pos-&gt;second &lt;&lt; endl;
}
</code></pre>

<p>But if <code>pos-&gt;second</code> contains a List, how to display?</p>
