in reply to
how do i read in ANY 2d array
2d array with any dimensions
Excuse me? What do you mean by that?
'2d' means 'two dimensions', like matrix N x M, for any N and M; thus, matrix 5by5 and 4by6 both are 2d arrays (square matrices). Adding third dimension makes N x M x L (cubic matrix), fourth - N x M x L x K (4d matrix) and so on.
I have absolutely zero preference
Results (151 votes),