Error 1 error LNK2001: unresolved external symbol "public: virtual void __thiscall Student::DisplayInformation(void)" (?DisplayInformation@Student@@UAEXXZ) Student.obj Assignment 1 Remake
Error 2 error LNK2001: unresolved external symbol "public: virtual void __thiscall Student::DisplayAssessment(void)" (?DisplayAssessment@Student@@UAEXXZ) Student.obj Assignment 1 Remake
Guilty code is as following:
#include <iostream> #include <string> using namespace std; class Student { public: Student(); *snip* [b] virtual void DisplayInformation(); virtual void DisplayAssessment();[/b] private: *snip* };
When I comment out the virtual functions it works fine though. No clue how to solve this one
Edited by RaiDK, 25 March 2009 - 05:08.