学生成绩记录簿设计1.docVIP

  • 18
  • 0
  • 约9.91千字
  • 约 12页
  • 2020-11-13 发布于湖北
  • 举报
#includeiostream #includecstdlib #includecstddef #includestring #includeiomanip #includefstream using namespace std; struct xueshengguanli { string name; string xibie; string banbie; string sex; int num; float zongheCJ; xueshengguanli *next; }; typedef xueshengguanli* xueshengGL; xueshengGL Input(xueshengGL head) { char SEL=y; int m=0; xueshengGL p1,p2,top; ofstream out_stream; out_stream.open(student.txt,ios::app); //以追加数据信息打开文件 if(out_stream.fail()) { cout打开文件失败.\n; exit(1); } while(SEL==y||SEL==Y) { p1=new xueshengguanl

文档评论(0)

1亿VIP精品文档

相关文档