I would have a question:
When I want to construct an object (with some parameter, e.g. string) in a normal way, I use:
When I want to construct multiple objects without parameters in "dynamic" way (for example, 4 objects), I use:Code:SimpleClass simpleObject("ObjectID");
Code:SimpleClass* pSimpleObject = new SimpleClass;
But what is the code, when I would like to construct multiple objects in dynamic way "WITH" some parameters?
Code:SimpleClass* pSimpleObject = ??? // new SimpleClass("ObjectID"), or what?