Android Array from text file(s) -


i have 2 text files. 1 x-coordinates , 1 y-coordinates. both structured line line this:

21.21062 18.03474 14.43482 16.55259 18.66788 12.91812 17.07011 

i want retrieve both coordinates (first line of x + first line of y) add function move on next line. this:

int line=0     for(int i=0,i < 777,i++0)         xcord[line] {         string x = xcord         ycord[line] {         string y = ycord         addplace(x,y) line++;     }} 

hope understand, not arrays

edit: know line numbers of both text files (theyre same though) if helps

you can use filereader. have create 2 different filereader. , can texts textfiles , add them arrays. if learn enough filereader wil make want. easy use filereader.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -