c++空项目提示>LINK : fatal error LNK1561: 必须定义入口点

baidu_26792735 baidu_26792735 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

#include<iostream>
#include<string>
using namespace std;
class Student
{
private:
string num;
string name;
double score[4];
double ave;
double sum;
public:
void input(string a,string b,double c,double d,double e,double f);
int sumall();
int fail();
int max();
int output();
}stu[5];

#include "Student.h"
int main()
{
string a,b;
double c,d,e,f;
int i,j;
cout<<"学号姓名成绩"<<endl;
cin>>a>>b>>c>>d>>e>>f;
for(i=1;i<=5;i++)
{
void input(string a,string b,double c,double d,double e,double f);
}
int max(Student stu[5]);
int fail(Student stu[5]);
int output(Student stu[5]);
return 0;
system("pause");
}
以上为其中两部分!
有提示LINK : fatal error LNK1561: 必须定义入口点
求教!!!!









...全文
评论 6
收藏 已收藏
分享
返回顶部
baidu_26792735
C++ 语言 65,213 成员 250,513 内容