i have B class which is inheriting from A and XYZ... like this... Code: A XYZ ^ ^ | | --------------- | | B A has a datamamber class { protected: C options; public: C optionsPublic; }; B has a function start(); C has a vector oftype vector<D*> and D is the inner class of the C...Like this Code: class C { class D { }; typedef vector<D*> optionlist; protected: oprionlist optionlistvector; }; C has some functions AddOptions() where it is updating the "vector optionlistvector"... my question is.... How to use the optionlistvector???....its values???....using the following information.... If you want any please let me know....I think i need to learn about instances....
First just have a class Test where you have a vector and use it comfortably and then use in the same manner for Class C.