I was trying to make a templated matrix class for basic operations viz addition,subtraction,etc.
While I was able to do all of the functions,I am stuck(compiler shows error) at the following function:
Matrix.h: In member function 'void Matrix<T>::GetOutput()':
Matrix.h:108:23: error: there are no arguments to 'GetElememt' that depend on a template parameter, so a declaration of
'GetElememt' must be available [-fpermissive]
Matrix.h:108:23: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name
is deprecated)