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 170301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:47:02+00:00 2026-05-11T12:47:02+00:00

Linking… Directory.obj : error LNK2019: unresolved external symbol public: void __thiscall indexList<class entry,100>::read(class std::basic_istream<char,struct

  • 0
Linking...  Directory.obj : error LNK2019: unresolved external symbol 'public: void __thiscall indexList<class entry,100>::read(class std::basic_istream<char,struct std::char_traits<char> > &)' (?read@?$indexList@Ventry@@$0GE@@@QAEXAAV?$basic_istream@DU?$char_traits@D@std@@@std@@@Z) referenced in function _main 

Getting this error and others associated with indexList implementation. I have included all the right files, not sure what this means?

indexList.h
indexList.cpp

Also, using VS .NET 2003 – They are under the ‘Source Files’ and ‘Header Files’ However, I tested with deleting the indexLish.h and the error doesn’t change?

  • 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. 2026-05-11T12:47:03+00:00Added an answer on May 11, 2026 at 12:47 pm

    What you have is a class template. This means when the compiler needs to call a function, it will look at your template definition and generate the corresponding code as needed.

    For example, the following probably has a compile-time error in it if tried to call it:

    template <typename T> void doSomething(const T& x) {     x->_this_function_does_not_exist_ever_(); } 

    But as long as you don’t call doSomething you won’t get errors.

    The problem you have is that your header file tells the compiler ‘hey, these functions exist’, but when the compiler tries to generate them it cannot find any definitions. (You cannot ‘compile’ definitions in a source file and link them in, they must be visible to the caller.)

    The most common solution is to simply define the entire class template in the .h or .hpp file.

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

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer If its just for quick testing or whatever, you could… May 11, 2026 at 11:38 pm
  • Editorial Team
    Editorial Team added an answer With Linq to XML, you can do something like the… May 11, 2026 at 11:38 pm
  • Editorial Team
    Editorial Team added an answer date() is not locale-aware. You should use strftime() and its… May 11, 2026 at 11:38 pm

Related Questions

Linking... Directory.obj : error LNK2019: unresolved external symbol public: void __thiscall indexList<class entry,100>::read(class std::basic_istream<char,struct
Having trouble linking the Stomp.framework into an iPhone SDK application. http://code.google.com/p/stompframework/ I follow the
Normally if I'm linking an ObjectDataSource to a GridView and I have a TemplateColumn
OK deep-linking in flex uses the anchor(#) text in the URL. So a link
When I'm linking .o files with the LD linker using MinGW on Windows, it

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.