**5、输出所有学生的成绩 **"<<endl; **6、退出系统 **"<<endl;
**************************"<<endl;
2017/4/3 cout<<"
选择0-6数字进行操作"<<endl;
char p;char w;//定义字符型p、w student *s[50]; //指针对象,最多存50个学生数据
2017/4/3 student(char n[20],int nu,double cc,double eng,double ma,double sp,double
l,double hb,double com) {strcpy(name,n); number=nu; cpro=cc; english=eng;math=ma;sport=sp;law=l;hbpro=hb;computer=com; } friend void main(); };
<<" 英语成绩 "<<english<<" 数学成绩 "<<math<<" 体育成绩 " <<sport<<" 网络基础成绩 "<<law<<" C成绩 "<<hbpro<<" 数据库成绩 "<<computer<<endl; j++; s[i]=new student(name, number,cpro,english,math,sport,law,hbpro,computer); i++; cout<<" 数据输入成功,想继续输入吗(y/n):"; cin>>c; cout<<endl; do {