processes[p]
processes[p]
processes[p]
cout<< } else{ cout<<"為作業申請資源失敗"< } } else{ cout<<"該作業不存在"< } } //撤消作業 void finished() { char name[20]; int i,p; cout< cout<<"━━━━━━━━━━━━━━━━━━━━━━━━━━━━"< cout<<"要撤消作業名:"; cin>>name; p=-1; for(i=0;i if(!strcmp(processes[i].name,name)){ p=i; break; } } if(p!=-1){ [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
From:http://tw.wingwit.com/Article/program/czxt/201311/24033.html