help using a 2d array to create a "map"i have a program where i am given a text file in this order:
<num of rows>
<num of cols>
<array of ints at each spot>
ex:
15
15
0,0,0,0,0,0,0,1,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,2,0,0,0
0,0,0,0,0,0,0,0,0,0,0,2,0,0,0
0,2,0,0,0,2,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0...