Iterator loop in C++
<p>I've been googling for this for so long but I couldn't get the answer. The most of sample that I found are based on iterating with vector, map and etc.. </p>

<p>I have the code below. </p>

<pre><code>multimap&lt;int, int&gt;::iterator it = myMuliMap.find(1); 
</code></pre>

<p>Let's say I have three pairs that has key "1". I like to get those three pair from for loop.. I think that I can't use for(multimap::iterator anotherItr=myMuliMap.begin().. </p>

<p>The following code is in C#.. I like to get C++ version.. Thanks. </p>

<pre><code>foreach(var mypair in it){
  Console.WriteLine(mypair.Key);
} 
</code></pre>
