title: C++ Dynamically allocated std::vector
body: <p>I'm a C++ newbie and I am working on university project Driver Book in C++.
  I am using vector for the first time and I would like to make it work with dynamic memory allocation.</p>
  
  <p>I have vector declared like this:</p>
  
  <pre><code>vector &lt;item&gt; book;
  </code></pre>
  
  <p>What is needed to make it work with dynamic memory allocation?</p>
  
  <p>Thanks in advance.</p>