Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > LNK2005
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4219 of 4370
Post > Topic >>

LNK2005

by "Jeff Baker" <algorthjb@[EMAIL PROTECTED] > Jul 27, 2008 at 01:01 PM

Hi,

I have two cl***** with two headers respectively and a single header, just

function, that both Implementation Method uses.
One header with Implementation Method alone with the function header works

fine. I test both cl***** alone and they work.
 Combining them I get: Wieghts and Measures 7.25.08 error LNK2005: "void 
__cdecl clrscr(int,int,int,int,int)" (?clrscr@[EMAIL PROTECTED]
) already defined

in Grams_Method.obj
The link error refers to the header that is function that both cl*****
use. 
This function header is only included in the Implementation Methods.

Jeff
 




 4 Posts in Topic:
LNK2005
"Jeff Baker" &l  2008-07-27 13:01:41 
Re: LNK2005
Ben Bacarisse <ben.use  2008-07-27 18:27:52 
Re: LNK2005
"Jeff Baker" &l  2008-07-27 15:03:31 
Re: LNK2005
Ben Bacarisse <ben.use  2008-07-27 21:50:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 15:00:59 CST 2008.