structure of double vectors
<p>I am trying to create a structure of double vectors in C++.</p>

<pre><code>struct distance{
    vector&lt;double&gt; x(10000);
    vector&lt;double&gt; y(10000);
    vector&lt;double&gt; z(10000);
};

distance distance_old, distance_new;
</code></pre>

<p>In the definition it throws an error saying:</p>

<pre><code>error: expected identifier before numeric constant
error: expected ‘,’ or ‘...’ before numeric constant 
</code></pre>

<p>Where am I going wrong?</p>

<p>I saw this post <a href="http://stackoverflow.com/questions/6290540/structure-of-vectors-c">Structure of vectors C++</a>
but it doesn't seem to be working for me.</p>
