Trying to create a 3 dimensional vector in c++
<p>So, im trying to create a 3 dimensional 5x3x2 vector, using the vector lib and saving the number 4 in every node.</p>

<p>Thats what im trying:</p>

<pre><code>vector&lt;vector&lt;vector&lt;int&gt; &gt; &gt; vec (5,vector &lt;int&gt;(3,vector &lt;int&gt;(2,4)));
</code></pre>

<p>for a bi dimensional 5x8 saving the int 6 in every node, this works:</p>

<pre><code>vector&lt;vector&lt;int&gt; &gt; vec (5,vector &lt;int&gt;(8,6));
</code></pre>
