title: How to create a dynamic array of an Abstract class?
body: <p>Lets say I have an abstract class Cat that has a few concrete subclasses Wildcat, Housecat, etc.</p>
  
  <p>I want my array to be able to store pointers to a type of cat without knowing which kind it really is.</p>
  
  <p>When I try to dynamically allocate an array of Cat, it doesn't seem to be working.</p>
  
  <pre><code>Cat* catArray = new Cat[200];
  </code></pre>