while(f==){
cout<<====================================================< cout<<" 模拟UNIX的成组链接法 "< cout<<"===================================================="< cout<<"1.申请空闲块 2.撤消作业 3.查看专用块 0.退出"< cout<<"请选择:";
cin>>chioce;
switch(chioce){
case 1:
bid();
break;
case 2:
finish();
break;
case 3:
view();
break;
case 0:
f=0;
break;
default:
cout<<"选择错误!"< }
}
}
[1] [2] [3] [4] [5] [6] [7] [8]