Why is it that my program gives an error when I instantiate an object of a derived class with embedded sub-objects of the base class? The base class itself works fine with its embedded sub-objects but as soon as I derived a class from it then the embedded sub-objects become undefined. PLEASE HELP!