I have a List of type Node. I want to set a temporary Node equal to the Node at the front of the List but I keep getting a Linker Error:
class Node
{
public:
Node();
Node& operator = (const Node& n);
};
1>Linking... 1>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) 1>C:\Users\Aaron McKellar\Documents\School Stuff\CS445\Test\Debug\Test.exe : fatal error LNK1120: 1 unresolved externals
Thanks in advance!