I have struggled with this for a while, and I decided it was time to seek help from this splendid forum.
Here's my question:
How can I utilize fstream to save data to a file and be able to use and edit that data upon the program starting again?
In an apartment management program, you will be able to add, remove, move, and edit tenants and their apartment rooms.
This would require the utilization to save data and then be able to access and edit them once you close and restart the program.
How can I do this?
Last edited on
Could you provide example code of setting and getting int values from a file?
That's what I'm struggling to understand.