Answer to Question #14 in C++ for nancy hernandez

Question #14
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.
1
Expert's answer
2010-05-11T07:42:17-0400
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'.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS