Saving and Loading Linked Lists With File i/o
I am in desperate need of help here. I have been trying for weeks to get this program to work, and its no go. My program seems rather simple. Read in user info as a linked list, save it to a file, and then be able to choose one of those entries( Like a log in function) Now, Saving is easy. It saves fine this way...
outfile << UserList->user.Fname;
now, next, after all of the names and info have been stored in the binary file, I am supposed to be able to load it back into the program, 1 entry at a time, and choose an entry so I can put more info into that single entry. I am totally lost at this point, and have tried a huge amount of different ways to complete this part of my assignment. I even tried using a buffer and strcmp to search for partial matches. I would ask the teacher, but we ahve a sub for another 2 months who doesn't know the difference between a monitor and a toaster oven.
any help would be GREATLY appreciated.