Hi,
I'm trying to passing values from a text file to an array. The values in txt file is;
0 2 3 5
1 2 5
0 1 3 6
1 3 5
I need to store these values in an array like that
any idea?Code:int array[?][?]={{0,2,3,5},{1,2,5},{0,1,3,6},{1,3,5}};
Hi,
I'm trying to passing values from a text file to an array. The values in txt file is;
0 2 3 5
1 2 5
0 1 3 6
1 3 5
I need to store these values in an array like that
any idea?Code:int array[?][?]={{0,2,3,5},{1,2,5},{0,1,3,6},{1,3,5}};