title: Confused about vectors
body: <p>Before now I've been learning to code at school (vectors, char, two-dimentional arrays, nothing too fancy) and have been coding in C++, in CodeBlocks. A month ago I started studying from C++ Primer. I'm now at vector types and I have it all confused. When I used to use vectors I never included any other library and I declared the vector something like this:</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  int main ()
  {
      int v[10];
      return 0;
  }
  </code></pre>
  
  <p>Now a vector is defined in a much more complicated way , using the <code>vector</code> library, mentioning the element type in the definition and so on. </p>
  
  <p>I was just wondering how is there such a big difference in subject I thought fairly easy. What's really the matter with these vectors?</p>