One would think a common task like determining when you reach the end of the file would be built in to what ever system you are using to read the text files. Read the documentation for your "file...
Type: Posts; User: jps
One would think a common task like determining when you reach the end of the file would be built in to what ever system you are using to read the text files. Read the documentation for your "file...
You have pretty much described how to do it, minus specifics, though I don't think you need an image.
Think of the file as also having the grid and using getX() and getY() where Y is the line number...