input
--------
00000
11111
01010
11001
00110
all i want to do is store this in a 2d char array. my problem is the correct loop to do so. the obsticle i keep running into is the damn newline character. i put a debug statement in after my loop and im getting a ascii value 10, new line, after each row should end. the rows and columns are predefined. my output would look like this ...
array[0][0] = char 0
array[0][0] = ascii 48
array[0][1] = char 0
array[0][1] = ascii 48
array[0][2] = char 0
array[0][2] = ascii 48
array[0][3] = char 0
array[0][3] = ascii 48
array[0][4] = char 0
array[1][4] = ascii 48
array[1][0] = char
array[1][0] = ascii 10
array[1][1] = char 1
array[1][1] = ascii 49
array[1][2] = char 1
array[1][2] = ascii 49
array[1][3] = char 1
array[1][3] = ascii 49
... and so on
can anyone help with the loop ?? i been trying with a combination of for nested loops but no luck.