1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
#ifndef PROGRAM1
#define PROGRAM1
class cMatrix
{
public:
cMatrix();
~cMatrix();
void MatrixOne();
void MatrixTwo();
void MultMatrixTogether();
private:
int r1,r2,r3,r4,r5,r6,r7,r8,r9;
int m1,m2,m3,m4,m5,m6,m7,m8,m9;
int matrix[3][3];
int matrix1[3][3];
int matrix2[3][3];
};
char ch;
#endif
|