title: How do I iterate through a two dimensional vector
body: <p>To iterate through and print the elements of a single dimensional vector I use,</p>
  
  <pre><code>vector&lt;int&gt; a;
  for(vector&lt;int&gt;::iterator it=a.begin();it&lt;a.end();it++)
      cout&lt;&lt;*it;
  </code></pre>
  
  <p>How do I do the same for a two dimensional Vector?</p>