}
else{
while(!feof(fp)){
fscanf(fp
wait_quantity++;
}
}
//輸出所讀入的數據
cout< cout<<"━━━━━━━━━━━━━━━━━━━━━━━"< cout<<"資源分配表"< cout<<"資源編號 進程編號"< for(i=0;i cout<<" "< cout<<"進程等待表"< cout<<"進程編號 資源編號"< for(i=0;i cout<<" "< for(i=0;i for(j=0;j cout<
for(i=0;i for(j=0;j cout<
cout<<"───────────────────"< if(flag!=-1){
[1] [2] [3] [4] [5]
From:http://tw.wingwit.com/Article/program/czxt/201311/24119.html