|
CS-285 -- Lab 2: list Implementation Winter Quarter 1999-2000 Electrical Engineering and Computer Science Department CC-27C, 277-7339 PurposeThe purpose of this lab assignment is to develop a greater understanding of the implementation details associated with the STL list class. This is accomplished by implementing a simplified version of the STL list class. AssignmentThis is a two week assignment. Week One (due 11:00pm, the day prior to week 5 lab)You are to create a List class that:
You may find it useful to create additional classes to aid in the development of your List class. While there is a similar implementation of this class given in our textbook, there are a number of significant errors in its implemenation. I would suggest that you use it only as a guide. In addition to the above implementation, you should design a test program that tests all of the functionality of the above implementation. The report for the first week need not be self-contained, but it should:
See the submission guidelines below. Week Two (due 11:00pm, the day prior to week 6 lab)In week two, you are to continue to build on the List class implementation that you began in week one. In particular, you are required to write copy constructor and assignment operator as well as the following member functions for the List class:
Your testing program should be updated to test the additional functionality of your List class. The lab report for week two should be self-contained. That is, it should be possible for someone to understand what you did and why without seeing anything other than your report. Your report should include:
Submission GuidelinesAs with any report you submit, correct spelling and grammar are required. In addition, your report should be submitted electronically following the Electronic Submission Guidelines. (You may wish to consult the sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost. It may be wise to keep a diskette backup as well. If you have any questions, consult the instructor. This page was created by Dr. Christopher C. Taylor, copyright 1999. |