title: Array like struct of vectors
body: <p>I have one question about array and how auto resize an array.
  I see vector does it automatically but vectors are for one dimension only.
  So I think a <code>struct</code> of vectors could be good.</p>
  
  <pre><code>#include &lt;vector&gt;
  struct 2dimensionarray
  { 
      vector&lt;int&gt; 1dimension;
      vector&lt;int&gt; 2dimension;
  }
  </code></pre>
  
  <p>So is this a good way? Or there are better ways to do it?</p>