title: How to make array of objects of a class but with user giving input?
body: <p>If the user gives the input than it should be added into the array of objects and how can I keep track of that array in object oriented programming in C++?</p>
  
  <p>Until and unless user don't give a input there would be one or no input in the array of objects. If user gives input than the array of objects would have one and than other objects can be added in the array of object of that respective class.</p>