// File: twodim.h // // A two-dimensional array of int ADT. class TwoDimArray { public: // Constructors TwoDimArray() ; TwoDimArray(unsigned int r, unsigned int c) ; // Copy Constructor TwoDimArray(const TwoDimArray& A) ; // Destructor ~TwoDimArray() ; TwoDimArray& operator=(const TwoDimArray& rhs) ; void Print() ; int& at(unsigned int r, unsigned int c) ; int *operator[] (unsigned int r) ; private: unsigned int rows, cols ; int *M ; } ;