Constructor with 'new'...
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:
SimpleClass* pSimpleObject = new SimpleClass;
But what is the code, when I would like to construct multiple objects in dynamic way "WITH" some parameters?
SimpleClass* pSimpleObject = ??? // new SimpleClass("ObjectID"), or what?