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
>> 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