Let's say my program has 2 classes, CInner and COuter. One of COuter's members is an object of type CInner.
Fact: Creating an object of type COuter runs the constructor-without-parameters of CInner. Destroying an object of type COuter runs the destructor-without-parameters of CInner.
Question: Is it possible to make the line COuter obj; run CInner's constructor-with-parameters for obj's CInner member? Or am I limited to the CInner(void) constructor (unless the member is a pointer assigned dynamic memory, but tgis is not the case)?