I want to read a tab separated file into a 2-D array where each line get stored in my 2-D array. I tried open and readline but nothing is working correct for me. Lets say my txt file is something like this :
1 2 3 4
2 3 4 5
3 4 5 6
...
so what I want is my 2-D array should store array[0]=[1,2,3,4]
, array[1]=[2,3,4,5]
and so on.