load data from a .txt file

lad
Posts: 6
Joined: Sun Dec 09, 2012 10:21 am

load data from a .txt file

Post by lad »

Hi everyone

I've got a question for you:

I've to load data from a .txt file: what is the syntax to do it???

Then I'll have to read the data in the file: my data are organized in rows and columns: how can I read these data? What's the right syntax?

Thank you!
MaxDZ8
Posts: 149
Joined: Fri Jun 24, 2011 8:53 am

Re: load data from a .txt file

Post by MaxDZ8 »

I guess you're supposed to figure out the syntax yourself!
I mean, do you have a file to load or you want to load a file as you want?
In the first case, post the file.
In the second, you're free do to it according to your taste.

Personally, if you cannot use the bullet serialization format (which is binary), I'd suggest json.