Instance tracing problem....Please help

rag84dec's Avatar, Join Date: Jul 2007
Go4Expert Member
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....
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
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.