送女儿十岁生日祝福语:C++错误提示求解

来源:百度文库 编辑:高考问答 时间:2024/04/28 22:40:51
--------------------Configuration: one - Win32 Debug--------------------
Compiling...
Account.cpp
Depoist.cpp
hecking.cpp
main.cpp
Saving.cpp
Linking...
Depoist.obj : error LNK2005: "public: void __thiscall Account::prin(void)" (?prin@Account@@QAEXXZ) already defined in Account.obj
Depoist.obj : error LNK2005: "public: virtual void __thiscall Account::storage(void)" (?storage@Account@@UAEXXZ) already defined in Account.obj
Depoist.obj : error LNK2005: "public: __thiscall Account::Account(void)" (??0Account@@QAE@XZ) already defined in Account.obj
hecking.obj : error LNK2005: "public: void __thiscall Account::prin(void)" (?prin@Account@@QAEXXZ) already defined in Account.obj
hecking.obj : error LNK2005: "public: virtual void __thiscall Account::storage(void)" (?storage@Account@@UAEXXZ) already defined in Account.obj
hecking.obj : error LNK2005: "public: __thiscall Account::Account(void)" (??0Account@@QAE@XZ) already defined in Account.obj
main.obj : error LNK2005: "public: void __thiscall Account::prin(void)" (?prin@Account@@QAEXXZ) already defined in Account.obj
main.obj : error LNK2005: "public: virtual void __thiscall Account::storage(void)" (?storage@Account@@UAEXXZ) already defined in Account.obj
main.obj : error LNK2005: "public: __thiscall Account::Account(void)" (??0Account@@QAE@XZ) already defined in Account.obj
Saving.obj : error LNK2005: "public: void __thiscall Account::prin(void)" (?prin@Account@@QAEXXZ) already defined in Account.obj
Saving.obj : error LNK2005: "public: virtual void __thiscall Account::storage(void)" (?storage@Account@@UAEXXZ) already defined in Account.obj
Saving.obj : error LNK2005: "public: __thiscall Account::Account(void)" (??0Account@@QAE@XZ) already defined in Account.obj
Saving.obj : error LNK2005: "public: virtual void __thiscall Saving::storage(void)" (?storage@Saving@@UAEXXZ) already defined in main.obj
Saving.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Account::~Account(void)" (??1Account@@UAE@XZ)
Account.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Account::~Account(void)" (??1Account@@UAE@XZ)
Depoist.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Account::~Account(void)" (??1Account@@UAE@XZ)
hecking.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Account::~Account(void)" (??1Account@@UAE@XZ)
main.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall Account::~Account(void)" (??1Account@@UAE@XZ)
Debug/one.exe : fatal error LNK1120: 1 unresolved externals