ount].x=x;data[count].y=y;data[count].z=z;count++;}voidstudent::find(intnum){intm=0;while(m<=count)if(num==data[m++].num)break;if(m>count){cout<<"很抱歉,没有该学号的学生"<<endl;start_del='n';getch();}else{temp=count;count=m;start_del='y';cout<<"该学生的资料为"<<endl<<"序号\t姓名\t学号\tC++\t数据结构\t英语\t体育"<<endl;show();count=temp;getch();}}voidstudent::del(intnum){charchose;find(num);if(start_del=='y'){cout<<"确实要删除该学生资料?Y/N"<<endl;cin>>chose;if(chose=='y'||chose=='Y'){intm=0;while(m<=count)if(num==data[m++].num)break;temp=count;count=m;while(count<temp){strcpy(data[count-1].name,data[count].name);data[count-1].num=data[count].num;strcpy(data[count-1].adress,data[count].adress);data[count-1].x=data[count].x;data[count-1].y=data[count].y;data[count-1].z=data[count].z;count++;}count=temp-1;cout<<"该学生资料已删除"<<endl;}else