What is the best way to store double dimension vector in c++?
<p>What is the best way to store double dimension vector in c++?</p>

<pre><code>std::vector &lt;std::vector &lt;int&gt; &gt; m_vector(N, std::vector&lt;int&gt;(M));
...
int k = m_vector[i][j];
</code></pre>

<p>How else?</p>
