#ifndef FLEX_MATRIX_H #define FLEX_MATRIX_H #include template class flexmatrix{ X* data; int M, N; public: flexmatrix(int m, int n){ M=m;N=n; if (M*N==0) cout<<"Serious Problem! "<