Answer to Question #14 in C++ for nancy hernandez
How do i add a record into a database using linked lists? I have to insert it directly into the list. The list is sorted by student ID.
You have to create a query that inserts your new record (let's call it 'new') into the list (after the records, let's call it `driver`), then add the link into the 'new' record in the 'driver' in link field and afterwards modify the link field in the record which was linked to `driver` and set the link to the 'new'.
No comments. Be first!