I understand that. It took away some of my errors. But how should I define the constructor in the header? and how do I use it in the main?
sorry for all the questions. I just haven't had much...
Type: Posts; User: hottiefee
I understand that. It took away some of my errors. But how should I define the constructor in the header? and how do I use it in the main?
sorry for all the questions. I just haven't had much...
And yeah that makes sense with the period. thanx (:
I changed the multiplication function to:
friend matrix operator * (matrix, matrix){ //multiply 2 matrices
double productArray[MAX_ROWS][MAX_COLUMNS];
if(a.columns = b.rows){ //i, j...
Hi everyone. I am trying to create a matrix. I'm trying to write a matrix program that the user will input the matrices and the program will add, subtract, and multiply the 2 matrices.
Before...