Tech Journal Back to Tech Journal

Why do I get messages like undefined reference to 'vtable for classname'?

You'll get messages like:
undefined reference to `vtable for <classname>' If a class has virtual function that haven't been implemented, and aren't pure virtual. (To make a virtual function pure virtual, add =0 at the end of the declaration, before the ;)

Last updated on 2006-02-19 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal