I named the start of the topic with "Easy question" because this sould be answered by only 1 or 2 members, so that you could concentrate on other more important problems.
So, the user enters some numbers, which will be the elements of a vector from a class. I want that whenever the user finishes entering them (by pressing Enter), a new object to be created. So if I am entering:
1 3 4 4 21 3
1 2 -1 88 9 23
42 9 8 4
there should be 3 objects created with those numbers. How can I dynamically create objects and still be able to access them after?