title: What is the size of sizeof(vector)? C++
body: <p>So the user inputs values within the for loop and the vector pushes it back, creating its own index. The problem arises in the second for loop, I think it has to do something with <code>sizeof(v)/sizeof(vector)</code>. </p>
  
  <pre><code> vector&lt;int&gt; v;
  
   for (int i; cin &gt;&gt; i;)
   {
      v.push_back(i);
      cout &lt;&lt; v.size() &lt;&lt; endl;
   }
  
   for (int i =0; i &lt; sizeof(v)/sizeof(vector); i++)
   {
      cout &lt;&lt; v[i] &lt;&lt; endl;
   }
  </code></pre>
  
  <p>How will I determine the size of the vector after entering values? 
  (I'm quite new to C++ so If I have made a stupid mistake, I apologize)</p>