How would I implement a way that i could create as many objects as the user wants?
Let's say every time a user clicks space bar a new cat object would be created, because right now i create lots of objects without initializing and every time i get a input i assign values to the object, the downside is that is limited for the amount of objects i create.
As well i don't want to cause a memory leak, specially in c++ because i need to use the delete keyword.