File streams

Hello everybody.
So I have a problem. I need to save some data in files, I have a class Subject and other classes that work together with this one, Tests and Classes.
The problem starts in the fact that I need to create a txt file for each Subject node, so if there's a node Subject called Math, I need to create the file Math.txt and put all the data of this subject and the associate files(Tests and Classes)

Obs: I'm using linked lists.

And other point is to retrieve this data from txt to use in other executions of the file.

any ideas in how to do that?

Thank you in advance!
Sounds like you know exactly what to do, So what is the problem ?

Show me where you made an effort to write the code...
Topic archived. No new replies allowed.