Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Saving a Linked List to a Disk File
Can someone explain to me how to save a linked list onto a disk file. When I try the usual 'write' statements, I get error messages. I have searched my text and the web, but can come up with nothing.
I have created a program that allows users to enter information which is then put into a linked list. The problem is that I can't get it to write the info to the disk, so whenever I start the program again, the file is read as gibberish.
0 · ·