I'm struggling on overloading the ifstream
operator to get an input from a file in a matrix form and creating a 2D array. This is for a 3x3 matrix. This is a small part of an assignment without which my whole assignment is quite pointless.
file example:
1 2 3
4 5 6
7 8 6