title: C++ A Collection of Objects
body: <p>i'm self learning C++ (using schaum's programming with c++ book), and i can't find anything in the book that explains how to create a collection of objects?
  For example say you have a <code>class of books</code>, and a <code>class of stores</code>, and you want to create a collection of book objects in the store class, how would this be implemented?
  I'm confused as with arrays you have to give a set size don't you? So what if you don't yet know the size needed? I'm assuming an array is not the best thing to use...
  Also sorry if the book/store class example is a bad example. :)</p>