save yourself [Archive] - C Board

PDA

View Full Version : save yourself


kerick
03-29-2002, 11:47 AM
lets say i have a linked list and want to save it into a file, is there a way to save the entire struct of all of them and when it is loaded again, it is like it was when you saved it?

Dual-Catfish
03-29-2002, 10:00 PM
Yes.



Simply traverse the list, output all the variables to a text file.. output nessicary seperation methods, output more variables etc.

Sorry I can't give you any code, I'm kinda in a rush.