#include
#include
#include
#include
#include
class SMatrix {
int **matrix;
int Dim;
public:
SMatrix (int);
SMatrix New_Matrix (int,int);
void SetValues();
int Determinant ();
};
SMatrix::SMatrix (int row) {
int *t;
int i;
matrix=(int **) malloc (row*sizeof(int *));
t=(int *) calloc (row*row,sizeof(int));
if ((t==NULL) || (matrix==NULL)) {
cout<<"Memory Allocation Error"<>matrix[i][j];
}
yCoord=yCoord+1;
}
}
SMatrix SMatrix::New_Matrix(int rowId,int colId) {
int i,j;
SMatrix New_M(Dim-1);
for (i=0 ; i>row;
SMatrix Matrix(row);
cout<<"Enter the elements one by one"<