I want to know if it's possible.
Basically, I want to give the user a choice of making a new object that's part of a class. The user enters the choice and it should call a function "CreateObject()" which makes a new object and stores it in the heap "Class *Object = new Class".
If anyone can lead me to some reference to explain this or explain it themselves it'd be greatly appreciated! I've been looking and I've found nothing so far.