CS1030 -- Lab 6: Roll Your Own Vector

Spring 2005
Objectives Addressed
Assignment

You should implement your own version of a templated vector class that is similar to the std::vector class. At a minimum, your class should mimic the functionality of the std::vector class, for the following member functions:

You should feel free to add any additional functionality found in the std::vector, but you are not required to do so.

Interim lab report (due 11:00pm, the day prior to week 9 lab)

Use the lab 6 template file as a starting point for this report. Each week you should write a paragraph indicating your assessment of the progress you have made and what you have left to accomplish. You should also continue to fill in the activity log for the report. You can just leave the the other sections blank.

Lab report (due 4:00pm, the day prior to week 10 lab)

Continue using the lab 6 template file from the interim report for this report.

The lab report need not be self-contained. Your report should include:

As 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 XML help video and/or sample report before submitting your report.) Be sure to keep copies of all your files, in case something gets lost.

Your grade will depend on quality of design, clarity of code and documentation, as well as whether your program produces the correct results. If you have any questions, consult your instructor.

Acknowledgment

This laboratory assignment was developed by Dr. Chris Taylor.

Last Updated: Thursday, 01-Jan-2015 13:30:58 CST