自己写了一个类,但是编译出了如下错误,通不过,请教各位!
Amao 2001-02-09 11:32:00 Bmap_v2View.obj : error LNK2005: "public: void __thiscall CMap::Draw(class CDC *)" (?Draw@CMap@@QAEXPAVCDC@@@Z) already defined in Bmap_v2.obj
Bmap_v2View.obj : error LNK2005: "public: int __thiscall CMap::OpenMapFile(class CString)" (?OpenMapFile@CMap@@QAEHVCString@@@Z) already defined in Bmap_v2.obj
Debug/Bmap_v2.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.
其中Bmap_v2是项目名,CMap为自己的类
该如何才好?