Hi!
I'm trying to use a base class derivative in another derivative class constructor but it's not working. Here's what I have:
class A {
...
};
class B : public class A {
...
};
class C : public class A {
C(A objA);
}
However when I try to do
C(B);
I get invalid constructor error. Any ideas?