The following program reads a 2D array of numbers. The array may have an arbitrary or unknown number of rows and columns up to a certain cell limit. The program counts the number of columns and rows as it reads the data.
The program souce code is: matrix_read.cpp (right mouse click & save target or link)
Please let me know if you have any suggestions for improvements.
* * *