Hi
We have a problem with an exersize with Matrices. We're supposed to write the functions to make a given main() function work.
Here's a copy of the main()-function:
main() {
// create two 3x3 matrices
Matrix A(3,3), B(3,3)
cout << "Type in a 3x3 matrix" << endl;
cin >> A;
cout << A;
}
We dont know how to implement cin/cout in our class
Example of Matrix.h:
public:
Matrix(int r, int c);
void operator>> (); // is this possible?
void operator<< () const; // possible?