wandering_shygu
06-23-2006, 02:03 PM
Hey, I am writing a program that stores information in 4 arrays (2 dimensional).
Before exiting from the program, I want to include the option to export all the data (or save) into a file (doesn't matter if it is .dat or txt).
And when I start the program again, I also want to have the option to load all the data onto the program so that I can add more or delete from it.
What command or function do i need to use..?
Can somebody please advice..
I am quite new to this...
By the way, the data need not be formatted.. As long as C it is able to scan the variable into memory from the file when load it it's is ok..
Thanks alot..
Before exiting from the program, I want to include the option to export all the data (or save) into a file (doesn't matter if it is .dat or txt).
And when I start the program again, I also want to have the option to load all the data onto the program so that I can add more or delete from it.
What command or function do i need to use..?
Can somebody please advice..
I am quite new to this...
By the way, the data need not be formatted.. As long as C it is able to scan the variable into memory from the file when load it it's is ok..
Thanks alot..