cout<< cout<<"銀行家所剩資源(剩余資源/總共資源)"< cout<<"A類:"< cout<<" B類:"< cout<<" C類:"< cout< if(quantity>0){ for(i=0;i cout<<"作業名:"< cout<<"A類:"< cout<<" B類:"< cout<<" C類:"< cout< } } else{ cout<<"當前沒有作業"< } } //顯示版權信息函數 void version() {
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
From:http://tw.wingwit.com/Article/program/czxt/201311/24035.html