The following are in main.cpp file:
string password;
string temp_password;
archiveObj.checkPassword(password,temp_password);
and the declaration of "checkPassword" is in the derived class "Archive" as below:
string checkPassword(string,string);
but when I run the code in Visual Studio Express 2010, I get the following error:
Error 1 error LNK2001: unresolved external symbol "public: class std::basic_string,class std::allocator > __thiscall Archive::checkPassword(class std::basic_string,class std::allocator > &,class std::basic_string,class std::allocator > &)" (?checkPassword@Archive@@QAE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAV23@0@Z) C:\Users\HP\documents\visual studio 2010\Projects\Room def\Room def\Main.obj
Can anyone help me figure out the problem please?