I have a List of type Node. I want to set a temporary Node equal to the Node at the front of the List, as follows:
class Node
{
public:
Node();
Node& operator = (const Node& n);
};
but I keep getting a Linker Error:
Linking...
main.obj : error LNK2019: unresolved external symbol "public: class Node & __thiscall Node::operator=(class Node const &)" (??4Node@@QAEAAV0@ABV0@@Z) referenced in function "void __cdecl fillScan(int,class std::list >)" (?fillScan@@YAXHV?$list@VNode@@V?$allocator@VNode@@@std@@@std@@@Z)
C:\Users\Aaron McKellar\Documents\School Stuff\CS445\Test\Debug\Test.exe : fatal error LNK1120: 1 unresolved externals
Thanks in advance!