This preview shows page 1. Sign up to view the full content.
Unformatted text preview: array records were addressed by an index with known start and end. We we were using arrays, there were mostly nested “ for “ loops in the core of the functions. Working with linked list it is more efficient to use “while” loops. This is just to avoid the “break”. As the first and useful step we copy the linked list exactly the way it is into a new one linked by MPG forward and backward pointers, MPGfLink and MPGbLink. CarID *MPGfirst = First;
CarID *MPGlast = Last;
CarID *Temp, *tEmp, *teMp,*temP;
View Full Document
This document was uploaded on 02/17/2014 for the course ECET 370 at DeVry Long Beach.
- Spring '13