hello,
I am working on a little database program in C++ that writes to a text file, saves, and then reads the text file into array's, but i'm not real sure how to go about converting the information in the text file back into arrays.
the text file looks like this
john,15,fl,clear
bob,300.5,overthere,blue
...
name, location and color are strings, weight is a float.
id like to read them into 4 array's
name[], weight[], location[], color[]
but i'm a little stuck in how to do this, if anyone wants to point me the right direction it would be greatly appreciated
thank you.