I'm not entirely sure about this, but I think the problem is that you're assuming that "class AA : public A" and "class AAA : public AA" means that "class AAA : public A". I believe that class A's member functions, including constructors, are either private or protected. You need to either make class A's constructor public, or declare class A to be a friend of class AAA. I can only guess at this since you didn't include the constructor for class A.
This is, unless you're talking about the whether or not to include the declaring the constructor in the header file, in which case, definitely include it in the header file and make sure to include the header in the AAA class (making sure to use ifdef/ifndef statements as well).
__________________
"Fuck these chains
No goddamn slave
I will be different" ~ Machine Head
|