Unformatted text preview: splitAt . 8. Write the definition of the function template back to return the last element of an ordered linked list. Moreover, add this operation to the class orderedLinkedListType. 11. This chapter defined and identified various operations on a linked ist with header and trailer nodes. a. write the definition of the class that defines a linked list with header and trailer nodes as an ADT. b. Write the definitions of the member functions of the class defined in part a. c. Write a program to test various operations of the class defined in part a. 13. Write the definition of the function template seqSearch to implement a sequential search on a list object. Its prototype is : Template<class elemType> List<elemType>::iterator seqsearch (list<elemType> &searchList, const elemType& item) Also write a program to test the function seqSearch ....
View Full Document
- Spring '12
- Computer Science, English-language films, Extensional definition, David Carothers CS