title: Creating a multiple class instances from user input
body: <p>I was wondering if it was possible to create multiple class instances solely from a user input. For example:</p>
  
  <pre><code>Class Person{
         int a;
         int b;
  
  }
  
  Person 1; Person 2; etc...
  int number;
  </code></pre>
  
  <p>Then</p>
  
  <pre><code>cout &lt;&lt; "Ask user to input a number for amount of class instances";
  cin &gt;&gt; number;
  </code></pre>
  
  <p>Is there any way that when you ask the user for that number, you get lets say 5 class instances of person? Or is this not do-able in this form and perhaps another approach should be taken?</p>