I have a base class, say BassClass
, with some fields, which I made them protected, and some pure virtual functions. Then the derived class, say DerivedClass
, like class DerivedClass : public BassClass
. Shouldn t DerivedClass inherit the protected fields from BassClass? When I tried to compile the DerivedClass, the compiler complains that DerivedClass does NOT have any of those fields, what is wrong here?
thanks
I m getting this linker error. I know a way around it, but it s bugging me because another part of the project s linking fine and it s designed almost identically. First, I have namespace LCD. Then I ...