Originally posted by CornedBee
This is already a double linked list (your record struct has both a prev and a next pointer). You need a data member in the record.
You should make another struct that holds the head and tail pointers, not make them stack variables of main. Like this:
Code:
struct LList {
  record *head;
  record *tail;
};
Is the insert function supposed to read in the file or should it only add a node to the list?
Yah its supposed to read it in I beelive and write it out to another file. Its basically like the last project, I posted about, ( structures ) look below on main page

I guess this linked list is just supposed to take in that info from one file again and write it out in order. Guess linked list is just another way of ordereing the info ?! Not sure.


How is the code I have so far a double linked list? All those functions so far are for only a single list.