Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 612789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:55:51+00:00 2026-05-13T17:55:51+00:00

I have a List of type Node. I want to set a temporary Node

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:55:52+00:00Added an answer on May 13, 2026 at 5:55 pm

    You only showed the declaration of operator=, not the definition. Either you didn’t supply a definition or the linker can’t find it.

    Well, I should say: The linker definitely can’t find the definition for operator=. Either that’s because you forgot to supply one or because your project/Makefile is set up incorrectly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

If i have a ViewModel like this: public class MyViewModel { [UIHint(SomeTemplate)] public ICollection<SomeViewModel>
I have a List with the following elements. List<String> numbers = new ArrayList<String>(); numbers.add(1);
I need some help in coding this in C# I have a list of
I have a blog set up with the usual articles and tags on the
I have a variable like that: List<Double> frameList = new ArrayList<Double>(); /* Double elements
Hi: In my application,I have a specified folder in the server side,the client user(authencitationed)
Do video games typically attempt to keep one list of entities and update them
In Silverlight, MVVM I have to create a property window, but I have just
OK...I've spent too much time floundering on this one, so I'm passing it on
I am a programming enthusiast with a basic programming background, but I'm completely new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.