C++学生信息管理系统(一卡通)_第1页
C++学生信息管理系统(一卡通)_第2页
C++学生信息管理系统(一卡通)_第3页
C++学生信息管理系统(一卡通)_第4页
C++学生信息管理系统(一卡通)_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、,B.女):;cin choose;if(choose=a|choose=A)sex=m;loop=0;else if(choose=b|choose=B)sex=f;loop=0;elsecout 您的输入有误,请重新选择! endl; strcat(shape,Admin); cout tel; loop=1;while(loop)cout choose;if(choose=y|choose=Y) title=y;loop=0;else if(choose=n|choose=N)title=n;loop=0;else cout void admin:adminRegister2()您的输入

2、有误,请重新选择! endl;信息已保存 choose;if(choose=a|choose=A) sex=m;loop=0;else if(choose=b|choose=B)sex=f;loop=0;elsecout 您的输入有误,请重新选择! endl;cout birthPlace;cout tel;money = 0; loop=1;while(loop) cout choose; if(choose=y|choose=Y)该学生是否为本班级班长( y/n ):monitor=y;loop=0;else if(choose=n|choose=N)monitor=n;loop=0;el

3、secout 您的输入有误,请重新选择! endl;void undergraduate:inputUndergraduate1()void undergraduate:inputUndergraduate_wrapper()信息已保存 choose;if(choose=a|choose=A)sex=m;loop=0;else if(choose=b|choose=B)sex=f;loop=0;elsecout 您的输入有误,请重新选择! endl;cout 籍贯cout 电话cout birthPlace; cin tel; cin wage;void postgraduate:inputP

4、ostgraduate1()信息已保存 endl;void postgraduate:inputPostgraduate_wrapper()生基本信息查询 endl 2.消费信息查询与消费 endl 3.后台管理 endl 0.退出本系统 endl endl endl endl 请选择您的操作 (0-3): ;void consumerMenu()int loop=1; char choose; while(loop)cout endlI!I! 消费信息管理 endl endlI!I! 1.消费 / 充卡 endl回上级目录 endl endl endl endl choose; while(

5、choose3|choose0) cout 您的输入有误,请重新选择! endl; cout choose; switch(choose)case 1: payOut();continue;case 2: continue;case 0: loop=0;break; void payOut()char number120; undergraduate under1; postgraduate postPayout;cout endl 一卡通便捷支出 endl number1;if(number10=1&number11=1&number12=1)(number1);else if(number

6、10=2&number11=2&number12=2)(number1); else cout void studentSelectMenu()您输入的学号有误!科生2. 研究生0. 返回上级目录 endl; endl endl endl endlendl endl choose;while(choose2|choose0)cout 您的输入有误,请重新选择! endl; cout choose; switch(choose)case 1: onUndergraduate();continue; case 2: onPostgraduate();continue;case 0: loop=0;

7、break;void adminMenu() endlI!I!有账号,马上登录2. 没有账号感觉注册吧!0.返回上级目录 endl endlI! endlI! endl endl choose;while(choose2|choose0)cout cout choose; switch(choose)您的输入有误,请重新选择! endl; 请选择您的操作 (0-2): ;case 1: ();continue; case 2: ();continue;case 0: loop=0;break;void adminSearchMenu()int loop=1; char choose;under

8、graduate underSearchALL; postgraduate postSearchAll;while(loop)cout endl endl 1.本科生 endl 2.研究生 endl 0.返回上级目录 endl endl 学生信息查询 endl endlendl choose;while(choose2|choose0) cout cout choose;switch(choose)case 1: ();continue;case 2: ();continue; case 0: loop=0;break;您的输入有误,请重新选择! endl;请选择您的操作 (0-2):void

9、 adminOnLogin()I!入学生信息 endl2.查询所有学生信息 endlI!0. 注销 endlI! endlI! endlendlI!请选择您的操作 (0-2):您的输入有误,请重新选择! choose; while(choose2|choose0) cout cout choose; switch(choose)case 1: inputStudent();continue; case 2: adminSearchMenu();continue; case 0: loop=0;break;void onUndergraduate()int loop=1;undergraduat

10、e underOnUnder;char choose;while(loop) endlcout 本科生基本信息查询 endl endl 1.按照学号及姓名查询 endl 2.查询本班级学生信息 endl 0.返回上级目录 endl endl endlendl choose;while(choose2|choose0)cout 您的输入有误,请重新选择! endl; cout choose; switch(choose)case 1: ();continue;case 2: ();continue;case 0: loop=0;break;void onPostgraduate()int loo

11、p=1; postgraduate postOnUnder;char choose;while(loop)endlcout I! 研究生基本信息查询 endl endl 1.按照学号及姓名查询 endl 0.返回上级目录 endl endl endl endl choose;while(choose1|choose0)cout 您的输入有误,请重新选择! endl;cout choose;switch(choose)case 1: ();continue;case 0: loop=0;break;void inputStudent()undergraduate underInputSt;pos

12、tgraduate post;int loop=1;char choose;while(loop)cout endl 管理员录入学生信息 endl endl 1.本科生 endl 2.研究生 endl 0.返回上级目录 endl endl endl endl choose;while(choose2|choose0)cout 您的输入有误,请重新选择! endl;cout choose;请选择您的操作 (0-2):II.switch(choose)case 1: ();continue;case 2: ();continue;case 0: loop=0;break;int main()person a;int loop=1;char choose; system(color 9f);();();();while(loop)mainMenu();cin choose; while(choose3|choose0)cout 您的输入有误,请重新选择! endl; cout c

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论