C Board  

Go Back   C Board > General Programming Boards > C++ Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-26-2002, 01:13 PM   #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
s0ul2squeeze is offline   Reply With Quote
Old 03-26-2002, 01:22 PM   #2
S­énior Member
 
Join Date: Jan 2002
Posts: 982
Your link doesn't work.
Sorensen is offline   Reply With Quote
Old 03-26-2002, 01:26 PM   #3
Registered User
 
Join Date: Jan 2002
Posts: 18
http://sourcepost.sytes.net/source/s...source_id=1661
there is the link again
s0ul2squeeze is offline   Reply With Quote
Old 03-26-2002, 01:43 PM   #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.
Sorensen is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 06:07 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

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