#x #y #z
1 1 1
1 2 4
1 3 9
1 4 16
2 1 1
2 2 4
2 3 9
2 4 16
3 1 1
3 2 4
3 3 9
3 4 16
...
How to read this file to array x, y, z?
where x from first column, y from first column, z from first column of file
I'd tried something already but i had some problem with blank line.