my prof gave me this stub for an operator:
MySquarMatrix operator +(const MySquareMatrix &, const MySquareMatrix &);
{
// add matrices a+b
}
MySquareMatrix is the name of the class, but this operator is not a member function
question 1) is the MySquareMatrix that is listed first in the operator the return type?
2) do i define what a+b equals in this operator, or do i
just define the '+'? (if that makes sense) i guess i just want to know what would go in the definition.
thanks