0
How to store data in hard drive in C++
I'm thinking of making a program that maintains the records of attendance of different subjects as entered by user. How can I store the input data on hard drive so that I can use it the next time user runs the program. What should be the format of storing data in this context? What should be the implementation?
3 Answers
+ 1
Aditya Rana Here is an useful resource you can adapt to your needs.
https://www.cppbuzz.com/projects/c++/c++-project-on-library-management-using-filehandling-and-functions
0
Mihai Apostol
I meant that I would create objects of class Subject. How will I store those objects?
Will I have to store the subject names and their member values in a txt file and read txt everytime the program is run and pass the read values to construct the objects everytime?