This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: * with the phonelist. */ void destroyPhoneList(phonelist *list); /* Function: append * Usage: append(&list, person); * Description: This function adds the new data * item at the end of the list. */ void append (phonelist* list, data person); /* Function: copyList * Usage: copyList(oldlist,&newlist); * Description: This function duplicates the contents of * oldlist in newlist: When the function * returns both lists have identical contents * and in the same order. (copy constructor) */ void copyList (phonelist oldlist, phonelist *newlist); /* Function: reverseList * Usage: reverseList(&list); * Description: This function, as its name suggests, reverses * the contents of a list. */ void reverseList(phonelist* list);...
View Full Document
This note was uploaded on 01/17/2012 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.
- Fall '08