Original Post
I'm having a little trouble with inheritance. I haven't used it much in C++ before, so the arrangements are a little strange to me. I've set up an Object class with two virtual functions, animate(int dt) and draw() as follows: public: virtual void draw(); virtual void animate(int dt); I've definied both of these functions in my SolidObject class, which inherits from Object. The code looks like this: class SolidObject : public Object { ....blahblah.... public: void draw() { m_sprite->draw(m_x, m_y); }; void animate(int dt) { m_sprite->animate(dt); }; ....blahblah.... }; When I try to compile, I get the following errors: SlonerOpenGL.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Object::animate(int)" (?animate@Object@@UAEXH@Z) SlonerOpenGL.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall Object::draw(void)" (?draw@Object@@UAEXXZ)