324616_0_18178.cpp: In function `Matrix pow(Matrix&, int)':
324616_0_18178.cpp:72: error: invalid initialization of non-const reference of type 'Matrix&' from a temporary of type 'Matrix'
324616_0_18178.cpp:68: error: in passing argument 1 of `Matrix pow(Matrix&, int)'
324616_0_18178.cpp:74: error: invalid initialization of non-const reference of type 'Matrix&' from a temporary of type 'Matrix'
324616_0_18178.cpp:68: error: in passing argument 1 of `Matrix pow(Matrix&, int)'
324616_0_18178.cpp: In function `int main()':
324616_0_18178.cpp:101: error: no match for 'operator*' in 'pow(Matrix&, int)((n - 9)) * d'
324616_0_18178.cpp:43: note: candidates are: Matrix operator*(int, Matrix&)
324616_0_18178.cpp:53: note: Matrix operator*(Matrix&, Matrix&)
|