I have a large textfile that has data for my program stored. It's basically a CSV file, consisting of float numbers, one in each line. Example:
6.3580820e+03
6.3589883e+03
6.3592695e+03
6.3592695e+03
6.3635508e+03
6.3695820e+03
I know how to read a file line for line, but then I will still end up with an array with all the data in my memory. I would prefer to access a distinct line e.g. kind of readFromLine:32 Is there a way to do that without loading or reading the whole file once? If not how should I convert my data? SQLite?