Click here to Skip to main content
15,912,897 members

Comments by khaledce (Top 1 by date)

khaledce 4-Jul-18 6:47am View    
@ppoymorphe, ok, then let's forget everything above for a moment and say, we have a function getList(row,columm), it returns a singe int value; and a 2D array in the .cpp file, it has 4 couples of pair row/column.
How to iterate getList(row,column) via two nested for-loops over the 2D array, in order to get the correspondent values for these couples, to be stored in a new 1D array or in external file, doesn't matter