| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 2365 人关注过本帖
标题:error LNK2001是什么原因啊
取消只看楼主 加入收藏
大脸猫
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-8-31
收藏
 问题点数:0 回复次数:2 
error LNK2001是什么原因啊

--------------------Configuration: student - Win32 Debug--------------------
Linking...
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::start(void)" (?start@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::quit(void)" (?quit@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::loadRecords(void)" (?loadRecords@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::saveRecords(void)" (?saveRecords@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::sortRecords(void)" (?sortRecords@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::modifyRecord(void)" (?modifyRecord@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::removeNote(bool)" (?removeNote@StuInfoManager@@UAEX_N@Z)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::removeRecord(void)" (?removeRecord@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::addRecord(void)" (?addRecord@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::queryRecord(void)" (?queryRecord@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::displayRecords(void)" (?displayRecords@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::handleMenu(void)" (?handleMenu@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoManager::clear(void)" (?clear@StuInfoManager@@UAEXXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall StuInfoVec::loadRecords(class std::basic_istream<char,struct std::char_traits<char> > &)" (?loadRecords@StuInfoVec@@UAEHAAV?$basic_istream@DU?$char_traits@D@std@
@@std@@@Z)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoVec::saveRecords(class std::basic_ostream<char,struct std::char_traits<char> > &)" (?saveRecords@StuInfoVec@@UAEXAAV?$basic_ostream@DU?$char_traits@D@std
@@@std@@@Z)
student.obj : error LNK2001: unresolved external symbol "public: virtual struct Record * * __thiscall StuInfoVec::findRecord(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,struct Record * *)" (?fi
ndRecord@StuInfoVec@@UAEPAPAURecord@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@HPAPAU2@@Z)
student.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall StuInfoVec::removePerform(void)" (?removePerform@StuInfoVec@@UAEHXZ)
student.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall StuInfoVec::addRecord(struct Record *)" (?addRecord@StuInfoVec@@UAEXPAURecord@@@Z)
student.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall StuInfoVec::~StuInfoVec(void)" (??1StuInfoVec@@UAE@XZ)
Debug/student.exe : fatal error LNK1120: 19 unresolved externals
Ö´ÐÐ link.exe ʱ³ö´í.

student.exe - 1 error(s), 0 warning(s)

搜索更多相关主题的帖子: error void student start 
2006-08-31 19:30
大脸猫
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-8-31
收藏
得分:0 
我编了一个学生成绩管理程序
编译的时候没有错
但是执行的时候出现了错误
望告知
2006-08-31 19:30
大脸猫
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2006-8-31
收藏
得分:0 
http://upload.programfan.com/upfile/20060831193761.rar
这是程序的源代码
3个头文件
3个CPP
2006-08-31 19:33
快速回复:error LNK2001是什么原因啊
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.012068 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved