Hey,
i am a complete newbie to C++ and have a task to do. i have looked all though my textbook and all over the net and have not found any examples similar. my problem is i am trying to read from a text file and store the data as an array. an example of the data is below:
test1
party1
234
321
23
4
test2
party2
4532
90
0
0
somehow i need to read them into an array something like:
[test1, party1, 234, 321, 23, 4]
[test2, party2, 4532, 90, 0, 0] and so on......
i know you are meant to post some of your own code but like i said i have no idea. any help would be appreciated, even just somewhere to start.
thankyou in advance.