SOLVED
I'm writing a code for making Set by linked lists in C++ with visual C++ 2010. when I want to overload the operations I get this Error
1>test.obj : error LNK2019: unresolved external symbol "public: __thiscall MySet::MySet(class MySet const &)" (??0MySet@@QAE@ABV0@@Z) referenced in function "public: c开发者_JAVA百科lass MySet __thiscall MySet::operator=(class MySet)" (??4MySet@@QAE?AV0@V0@@Z)
please help me. how should I get read of this error
Have you declared and defined the following constructor method?
MySet::MySet(const MySet &other)
{
....
}
精彩评论