Hey all,
I've been trying to figure out my problem for the past few days and haven't gotten any closer :(
I have "names.txt" which i am trying to read from consisting of:
Johnjames
150
Bob Uncle
630
Jimmy mayo
394
...... (list of about 10 entries like this)
And im trying to store them into this structure.
Here is the code i'm using, (this able to get the first name and number perfectly fine, but spits out garbage afer.)
I've opened the file etc, everything works fine, i just need to store the data!