
December 17th, 2012, 09:32 AM
|
|
Registered User
|
|
Join Date: Oct 2012
Posts: 6
Time spent in forums: 59 m 56 sec
Reputation Power: 0
|
|
|
C++:Load two demensional array from file?
Hello there guys,I need to load a two dimensional array from file in my program.
The matrix in the file is like:
M N
A11 A12 ....A1N
.....................
Am1 Am2 Amn
Where M and N are the size of the matrix and they are expected to change when i want to show a smaller part of that matrix for example.
Also another question:
We have the same matrix and i want to cut it in two different matrixes - lets say its 10 rows and i want to cut in in the fifth row so the two new will show A - matrix from numbers above that row and B - matrix from numbers below that row.
Any clues will be highly appreciated.
|