c++空项目提示>LINK : fatal error LNK1561: 必须定义入口点
#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: 必须定义入口点
求教!!!!
...全文
相关推荐
fatal error LNK1104: 无法打开文件“libc.lib”的解决方法
本篇文章是对fatal error LNK1104: 无法打开文件“libc.lib”的解决方法进行了详细的分析介绍,需要的朋友参考下
vc中error LNK2001 resolved external symbol _WinMain@16的解决方法
阐述了C++中vc中error LNK2001 resolved external symbol _WinMain@16的解决方法的解决方法。
最常见的VC++编译错误信息_fatal_error
最常见的VC++编译错误信息_fatal_error
“解决fatal error LNK1104无法打开libc.lib文件问题的方法”
资源下载链接为: https://pan.quark.cn/s/1bfadf00ae14
C++常见错误汇总
本文档汇集了初学者在初学C++时的常见错误


