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?

7th Jan 2020, 6:55 AM
Aditya Rana
3 Réponses
7th Jan 2020, 7:11 AM
Mihai Apostol
Mihai Apostol - avatar
7th Jan 2020, 8:20 PM
Mihai Apostol
Mihai Apostol - avatar
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?
7th Jan 2020, 3:27 PM
Aditya Rana