executing errors

This is a discussion on executing errors within the C++ Programming forums, part of the General Programming Boards category; hey, im doing this C++ program and it consists of 3 files, the .h file, the .cpp file, and the ...

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    18

    executing errors

    hey, im doing this C++ program and it consists of 3 files, the .h file, the .cpp file, and the main client program. When i compile the program, i get 0 errors and 0 warnings. But then when i try to execute the program, i get 4 unresolved external errors, and it will not execute. Funny thing is that on Microsoft Visual it only does this. But on UNIX it compiles and runs smoothly. This is due in a couple days and i was hoping someone could find out how to fix that problem. Thanx. To email me, email me at. DRFUNKENSTINE@aol.com

    here is a link to my program, i posted it up so that someone can copy and paste the entire program and then compile and see what's wrong with it. Thanx a lot :-)

    the link is my program

    http://sourcepost.sytes.net/source/...?source_id=1661

    below are my errors

    --------------------Configuration: LinkedListt - Win32 Debug--------------------
    Linking...
    LinkedListt.obj : error LNK2001: unresolved external symbol "public: __thiscall List::~List(void)" (??1List@@QAE@XZ)
    LinkedListt.obj : error LNK2001: unresolved external symbol "public: void __thiscall List:isplay(void)" (?Display@List@@QAEXXZ)
    LinkedListt.obj : error LNK2001: unresolved external symbol "public: void __thiscall List::insert(int)" (?insert@List@@QAEXH@Z)
    LinkedListt.obj : error LNK2001: unresolved external symbol "public: __thiscall List::List(void)" (??0List@@QAE@XZ)
    Debug/LinkedListt.exe : fatal error LNK1120: 4 unresolved externals
    Error executing link.exe.

    LinkedListt.exe - 5 error(s), 0 warning(s)


    when u try to execute it wont work

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Your link doesn't work.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    18

  4. #4
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    Compiled and linked ok for me (MSVC.NET). Make sure your setting up the files properly (that your implementation is being compiled).

    You may want to be consistent in your use of iostreams, you've included <iostream> and <iostream.h>, which can cause problems.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 03:11 PM
  2. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 10:50 AM
  3. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 04:44 PM
  4. Help me with these errors... :-(
    By major_small in forum C++ Programming
    Replies: 6
    Last Post: 09-07-2003, 08:18 PM
  5. errors in class(urgent)
    By ayesha in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2001, 05:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21