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.
In reply to Re: Columnwise parsing of a file
by BrowserUk
in thread Columnwise parsing of a file
by ghosh123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |