タイプ Node のリストがあります。次のように、リストの先頭にあるノードと等しい一時的なノードを設定します。
class Node
{
public:
Node();
Node& operator = (const Node& n);
};
しかし、リンカーエラーが発生し続けます:
リンク中...
main.obj : エラー LNK2019: 未解決の外部シンボル "public: class Node & __thiscall Node::operator=(class Node const &)" (??4Node@@QAEAAV0@ABV0@@Z) 関数で参照" 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: 致命的なエラー LNK1120: 1 つの未解決の外部
前もって感謝します!