Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 30th, 2005, 1:37 PM   #1
Cloudbreak
Newbie
 
Join Date: Nov 2004
Posts: 5
Rep Power: 0 Cloudbreak is on a distinguished road
Linker error

I made a tic tac toe program (Turbo C) and I get this weird error message. Here's the code: http://planet.nana.co.il/danbar_6/TTT.C
Here's the error I get: "Linker Error: Undefined symbol _drawboard in module C:\Documents and Settings\Dan\Desktop\TTT.C"

I know there's no problem with the function drawboard() because I tested it without the rest of the program and it worked just fine.

Please help me solve this problem.

Thanks,
Dan.
Cloudbreak is offline   Reply With Quote
Old Apr 30th, 2005, 5:28 PM   #2
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
i compiled the code in dev-c++ and it gave linker errors for about 20 functions. i have no idea.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Apr 30th, 2005, 5:37 PM   #3
Cloudbreak
Newbie
 
Join Date: Nov 2004
Posts: 5
Rep Power: 0 Cloudbreak is on a distinguished road
There are lot'sa functions that exist in Borland's Turbo C that don't exist anywhere else...
Cloudbreak is offline   Reply With Quote
Old Apr 30th, 2005, 6:10 PM   #4
Cloudbreak
Newbie
 
Join Date: Nov 2004
Posts: 5
Rep Power: 0 Cloudbreak is on a distinguished road
Never mind folks, found what the problem was.
Cloudbreak is offline   Reply With Quote
Old Apr 30th, 2005, 7:02 PM   #5
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 5 bl00dninja is on a distinguished road
just out of curiosity, what was it?
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old May 1st, 2005, 5:22 AM   #6
Cloudbreak
Newbie
 
Join Date: Nov 2004
Posts: 5
Rep Power: 0 Cloudbreak is on a distinguished road
Well, quite a stupid one actually; when I called the function from the main() function, I wrote draboard(); instead of drawBoard...
Cloudbreak is offline   Reply With Quote
Old May 1st, 2005, 6:05 AM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
I hate it when that happens...
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:08 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC