hey,
I am pretty new to C++ and am not sure on this.However when I make an assignment ex:Code:SparseMatrix &SparseMatrix::operator=(const SparseMatrix &another) { /*stuff setting up the r,c, and val variables*/ SparseMatrix retval(r,c,val); return retval; }transpose has all null values?Code:transpose=test.naiveTranspose();
What am I doing wrong?