不知是什么问题,编译时一大堆错误。Linking...
test.obj : error LNK2001: unresolved external symbol __chkesp
test.obj : error LNK2001: unresolved external symbol _atexit
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl HZ::load(char *,int)" (?load@HZ@@SAHPADH@Z)
test.obj : error LNK2001: unresolved external symbol "public: int __thiscall SAMPLE::load(char *)" (?load@SAMPLE@@QAEHPAD@Z)
test.obj : error LNK2001: unresolved external symbol "public: void __thiscall BMP::clear(class PIXEL)" (?clear@BMP@@QAEXVPIXEL@@@Z)
test.obj : error LNK2001: unresolved external symbol "class BMP  screen" (?screen@@3VBMP@@A)
test.obj : error LNK2001: unresolved external symbol "public: static int (__cdecl* WSP::display)(int,int,int)" (?display@WSP@@2P6AHHHH@ZA)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl MOUSE::init(void)" (?init@MOUSE@@SAHXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl MOUSE::end(void)" (?end@MOUSE@@SAXXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl MOUSE::active(int)" (?active@MOUSE@@SAXH@Z)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl KEY::init(void)" (?init@KEY@@SAHXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl KEY::end(void)" (?end@KEY@@SAXXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl KEY::active(int)" (?active@KEY@@SAXH@Z)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl GDI::init(void)" (?init@GDI@@SAHXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl GDI::end(void)" (?end@GDI@@SAXXZ)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl WSP::install(int (__cdecl*)(void),void (__cdecl*)(void),void (__cdecl*)(int),unsigned long)" (?install@WSP@@SAHP6AHXZP6AXXZP6AXH@ZK@Z)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl DEBUG::init(void)" (?init@DEBUG@@SAHXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl DEBUG::end(void)" (?end@DEBUG@@SAXXZ)
test.obj : error LNK2001: unresolved external symbol ___CxxFrameHandler
test.obj : error LNK2001: unresolved external symbol __except_list
test.obj : error LNK2001: unresolved external symbol "private: static void (__cdecl* PIXEL::_set_truecolor)(unsigned short *,unsigned long)" (?_set_truecolor@PIXEL@@0P6AXPAGK@ZA)
test.obj : error LNK2001: unresolved external symbol "public: static void (__cdecl* WSP::update)(void)" (?update@WSP@@2P6AXXZA)
test.obj : error LNK2001: unresolved external symbol "public: static unsigned long __cdecl TIMER::time(void)" (?time@TIMER@@SAKXZ)
test.obj : error LNK2001: unresolved external symbol "public: void __thiscall BMP::rectfill(int,int,int,int,class PIXEL)" (?rectfill@BMP@@QAEXHHHHVPIXEL@@@Z)
test.obj : error LNK2001: unresolved external symbol "public: void __cdecl BMP::printf(int,int,class PIXEL,char *,...)" (?printf@BMP@@QAAXHHVPIXEL@@PADZZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl DSOUND::vol(int)" (?vol@DSOUND@@SAXH@Z)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl KEY::read(void)" (?read@KEY@@SAHXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl FPS::show(class PIXEL)" (?show@FPS@@SAXVPIXEL@@@Z)
test.obj : error LNK2001: unresolved external symbol "public: static unsigned char volatile * volatile  KEY::key" (?key@KEY@@2RCEC)
test.obj : error LNK2001: unresolved external symbol "public: void __thiscall SAMPLE::stop(void)" (?stop@SAMPLE@@QAEXXZ)
test.obj : error LNK2001: unresolved external symbol "public: void __thiscall BMP::line(int,int,int,int,class PIXEL)" (?line@BMP@@QAEXHHHHVPIXEL@@@Z)
test.obj : error LNK2001: unresolved external symbol "public: static void (__cdecl* DEBUG::traceinfo)(class PIXEL,char *,...)" (?traceinfo@DEBUG@@2P6AXVPIXEL@@PADZZA)
test.obj : error LNK2001: unresolved external symbol "public: void __thiscall SAMPLE::play(enum play_mode,int,int)" (?play@SAMPLE@@QAEXW4play_mode@@HH@Z)
test.obj : error LNK2001: unresolved external symbol "public: static unsigned char volatile * volatile  MOUSE::button" (?button@MOUSE@@2RCEC)
test.obj : error LNK2001: unresolved external symbol "public: static int volatile  MOUSE::y" (?y@MOUSE@@2HC)
test.obj : error LNK2001: unresolved external symbol "public: static int volatile  MOUSE::x" (?x@MOUSE@@2HC)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl KEY::state(void)" (?state@KEY@@SAXXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl MOUSE::state(void)" (?state@MOUSE@@SAXXZ)
test.obj : error LNK2001: unresolved external symbol _free
test.obj : error LNK2001: unresolved external symbol "public: void __thiscall CURSOR::destroy(void)" (?destroy@CURSOR@@QAEXXZ)
test.obj : error LNK2001: unresolved external symbol "public: static void __cdecl MUSIC::play(enum play_mode)" (?play@MUSIC@@SAXW4play_mode@@@Z)
test.obj : error LNK2001: unresolved external symbol "public: static int __cdecl MUSIC::load(char *,enum play_mode)" (?load@MUSIC@@SAHPADW4play_mode@@@Z)
test.obj : error LNK2001: unresolved external symbol "private: void __thiscall SAMPLE::destroy(void)" (?destroy@SAMPLE@@AAEXXZ)
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
Debug/test.exe : fatal error LNK1120: 44 unresolved externals
Error executing link.exe.test.exe - 45 error(s), 0 warning(s)