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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.