metamorphy
Programmer
Hello! I am new to programming, and trying to teach myself
C/C++ so bear with me. My problem is this:
In my (dos) program I have an array of structures. There is a function in the program which asks the user to input data into the variables of a structure in the array. I wish to be able to save the data that is entered into these structures so that when I quit the program, then run the program again, the data for each structure that has been manipulated is still in tact. Is there some sort of library function that I can use to do this, or must the data be written to some kind of .ini file and then read by the program on startup? Basically I want to save the records (structures) so that I can use the array
of structures as a database. Thanks in advance to anyone who will take to time to help out a rookie with a desire to learn.