我在编写C++程序时编译构件时出现如下错误 请问该怎样修改

来源:百度知道 编辑:UC知道 时间:2024/05/14 16:28:19
Cpp1.obj : error LNK2001: unresolved external symbol "struct student * __cdecl findstud(int,struct student *)" (?findstud@@YAPAUstudent@@HPAU1@@Z)

没有找到结构体struct student的定义

看帮助文件吧

这是一个链接错误,比较复杂。因为你找不到具体问题出在什么地方。应该是你结构体定义有就只是,你仔细查一下啊。要不发过我,我帮你查,查到发给你啊。