Hi guys,
well i am learning c++ on my own..
i am studying it by refering to the book and doin its exercises.
well i need help sorting out the errors.. and i am not sure wat destructors and constructors are.. plus i am coding using Visual C++ 2008 express edition..
this program needs me to input a matrix from a file..
the file called matrix1.txt is as follows:
<matrix>
rows = 2
cols = 2
1 2
2 4
</matrix>
so we are meant to input the data from the file into the matrix and carry out the operations..
the code is as follows for Matrix.h
well i am learning c++ on my own..
i am studying it by refering to the book and doin its exercises.
well i need help sorting out the errors.. and i am not sure wat destructors and constructors are.. plus i am coding using Visual C++ 2008 express edition..
this program needs me to input a matrix from a file..
the file called matrix1.txt is as follows:
<matrix>
rows = 2
cols = 2
1 2
2 4
</matrix>
so we are meant to input the data from the file into the matrix and carry out the operations..
the code is as follows for Matrix.h
Comment