my question is how to save data from a linked list to hard disk. I know how to write the data to a text file but is there a better way to do this?
my question is how to save data from a linked list to hard disk. I know how to write the data to a text file but is there a better way to do this?
Just move through the linked list and at each node just write to the text file.
- Sean
If cities were built like software is built, the first woodpecker to come along would level civilization.
Black Frog Studios
>my question is how to save data from a linked list to hard disk.
It's pointless to try and save the links in the list, so just save the data and rebuild the list later. You also save yourself parsing trouble when you change your mind and decide to use a binary tree instead of a linked list.
My best code is written with the delete key.