求高手指教错误
#include<string>#include<stdio.h>
class student(){
public:
int name;
int number;
char score;
string sex;
};
student(int n,int num,char sc,string s){
name=n
number=num
score=sc
sex=s
} ;
~student();
display void(){
cout<<姓名=<<""<<endl;
cout<<学号=<<""<<endl;
cout<<成绩=<<""<<endl;
cout<<性别=<<""<<endl;
};
class Gstudent::clsss student(int n,int num,char sc,string s,string h,string w){
string height;
string weight;
};
Gstudent(int n,int num,char sc,string s,string h,string w){
height=h
weight=w
}
int main(){
cout<<"L2"<<"2"<<"60"<<"男"<<endl;
};
我这程序哪里错了