in reply to Columnwise parsing of a file
I need to parse it columnwise so that I can randomly know which co-ordinate
Parse it line-by-line (there is no alternative for variable length lines); split each line into fields and build a 2D array from the results.
Now you can access everything in whatever order you like.
|
|---|