Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Double defining in obj

Status
Not open for further replies.

Voker57

Programmer
Feb 2, 2003
22
RU
I'm defining global variables zz and nn in Plot.h, modyfying them in plot.cpp and using in The PlotView.cpp. And when compiling it shows that:
>> The PlotView.obj : error LNK2005: "int nn" (?nn@@3HA)
>> already defined in Plot.obj
>> The PlotView.obj : error LNK2005: "int zz" (?zz@@3HA)
>> already defined in Plot.obj
>> Debug/The Plot.exe : fatal error LNK1169: one or more
>> multiply defined symbols found
What it means? I haven't defined them anywhere else!

I'm from Russia :)
 
I have ICQ, use this.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top