title: Vector c++ 98 error
body: <p>so ive been reading multiple (and resent) c++ books and learning about vectors and they all are telling me to define a vector like this:</p>
  
  <pre><code> vector&lt;int&gt; v1 = {4 ,3 ,5}; 
  </code></pre>
  
  <p>however when i compile it (Im using gnu gcc compiler in codeblocks) it comes up with this error</p>
  
  <blockquote>
    <p><strong>in c++ 98 'v1' must be initialized by constructor not by '{...}'</strong>
    and i also get another one underneath that that sais:
    <strong>could not convert '{4, 3, 5}' from 'brace enclosed initializer list' to 'std::vector v1'</strong></p>
  </blockquote>
  
  <p>if you could help me it'd be much appreciated. <strong>And i did include the vector library.</strong></p>