银行家算法的C++实现
#pragma once #include "Processor.h" #include using namespace std; class Control { private : Processor * progress; int num; int *Available; public: Control(int n,int *A,int m) { num=n; Available=A; progress=new Processor [num]; string na=""; cout