According to my C++ book, the following is legal:
Code:
class a_class
{
          public:
                    int one;
                    int two;
};

class b_class
{
         public:
                   int fortytwo;
                   a_class b_a;
};

b_class b;
How do I reference the members of an a_class object that is naested inside of a b_class object? Would the following be legal?
Code:
b.b_a.one;