Pls i'v problems overloading the addition(+) & subtraction(-) operators as i did the multiplication & division operators by declaring them as friend functions within my class definition.
It's actually a matrix class. I'm using visual studio 6.0. Also after compiling, the error window does not show any comprehensive detail on the error. I'll be grateful for your help.
Below is the code
//my class def
class matrix{
friend matrix operator+(const matrix&, const matrix&);
public:
void setmatrix();
void print();
//constructor & other function codes
private:
int matrixx[100][100];
int numcols;
int numrows;
//other member data
}