Posted by Nathan on April 19, 2001 at 19:52:59:
In Reply to: Re: Inheritance and polymorphism posted by William D McQuain on April 19, 2001 at 17:30:29:
Right but lets say I have class Base with a virtual function. Then I have another class Derived with that same virtual function. I don't want to actually implement it there, I just want to "set it up". I have another class Double_Derived from Derived, and that is where I want to implement my virtual function. The problem I am having is that the compiler looks for implementation in Derived and doesn't bother checking Double_Derived even though is publicly inherited from Derived. This throws a link error 2001...
Animal.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Animal::Tick(void)" (?Tick@Animal@@UAEXXZ)
Post a Followup