|
|
|
|
|
|
DerivedClassTwo(string p, string a) : DerivedClassOne(p) |
|
DerivedClassX(...,...,...)?| So if I understood correctly: as many Derived classes as there are, as long as you put the arguments for all classes constructors in DerivedClassX(...,...,...)? |
|
|
DerivedClassTwo constructor like this: |
|
|
|
|
|
|
|
|
|
main()?Third(int t1, int t2, int t3, int d1, int d2) : Derived (d1, d2)Derived(int d1, int d2, int b1, int b2, int b3)Derived(int d1, int d2, int b1, int b2, int b3) : Base(b1, b2; b3) |
|
|
|