面向对象课程设计文档模板(6)

2019-05-17 18:00

cin>>a;

if(a==\{

cout<<\数据如下:\ display(head);

getch(); menu1(head);

}

else if(a==\

{

cout<<\请输入需要删除者的姓名:\

cin>>a; while(1) { }

cout<<\删除成功!\getch(); menu1(head);

if(del1(head,a) != 0) { } else break;

del(del1(head, a));

}

{

else if(a==\

enter(head);

getch();

menu1(head);

}

else if(a==\{

cout<<\输入名字:\ cin>>a;

search(head, a);

cout<<\查找成功=====\

getch(); menu1(head);

}

else if (a == \

{

save(head);

cout<<\保存成功=====\getch(); menu1(head);

}

else if (a == \

{

break;

}

else { }

cout<<\无效指令,请重新输入:\

} }

void menu2(node& head)

exit(1);

{

bool b=false;

string a;

cout<<\学生信息管理==========\cout<<\查看所有信息\ cout<<\查询信息\cout<<\关闭程序\

cout<<\cout<

cout<<\请选择操作指令:\while(b==false) {

cin>>a;

if(a==\

{

cout<<\数据如下:\ display(head);

getch(); system(\menu2(head);

}

{

else if(a==\

cout<<\输入名字:\ cin>>a;

search(head, a);

cout<<\查找成功=====\

getch(); system(\menu2(head);

}

else if (a == \

{

break;

}

}

{

cout<<\无效指令,请重新输入:\else

} }

#include #include #include #include using namespace std; int passwd=123; int main() {

system(\exit(1);

node head;

string name,grade,sex,yard; string c,english,math; int flag;

int password;

ifstream read (\if (read) { }

cout<<\请选择管理员登陆(1) 或者 学生登录(2):\cin>>flag; if(flag==1) {

cout<<\请输入管理员密码:\cin>>password; if(password!=passwd) exit(0);

while (read>>name>>grade>>sex>>yard>>c>>english>>math) { }

init(head,name,grade,sex,yard,c,english,math);

}

switch(flag) {

case 1:menu1(head);break; case 2:menu2(head);break; default:cout<<\输入错误\} return 0; }


面向对象课程设计文档模板(6).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:道路运输企业安全标准化达标考核考评员试题及答案

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: