我的虚函数在连接时出错!帮我!
我在头文件中定义了virtual 的函数,在CPP文件中实现。编译没有错,但是,连接出错。如下:怎么回事啊!
PicAccess.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CJuneGlyph::DoCrop(int,int,int,int)" (?DoCrop@CJuneGlyph@@UAE_NHHHH@Z)
PicAccess.obj : error LNK2001: unresolved external symbol "public: virtual struct CRuntimeClass * __thiscall CJuneGlyph::GetRuntimeClass(void)const " (?GetRuntimeClass@CJuneGlyph@@UBEPAUCRuntimeClass@@XZ)
Debug/PImage.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
另外:
请问,我想学学VC程序调试。怎么办