回复 2楼 yuccn
大神。引用全局变量后编译通过了,但是运行产生
jz2View.obj : error LNK2005: "int x1" (?x1@@3HA) already defined in jz1.obj
jz2View.obj : error LNK2005: "int x2" (?x2@@3HA) already defined in jz1.obj
jz2View.obj : error LNK2005: "int y1" (?y1@@3HA) already defined in jz1.obj
jz2View.obj : error LNK2005: "int y2" (?y2@@3HA) already defined in jz1.obj
Debug/jz2.exe : fatal error LNK1169: one or more multiply defined symbols found
这样的错误~~请问接口该怎么操作~?