No course objectives are addressed by this assignment. It's purpose is to serve as a prerequisite assessment.
Implement your own version of the templated std::vector. You class should be called vector and should be wrapped in a namespace called cs285. Your class should implement the constructor (with up to two parameters), copy constructor, destructor, assignment operator, and the following member functions:
This class will be used in future lab projects.
You should submit an activity log to indicate your activity and progress on this assignment during the first week.
Here is a template file to use as a starting point for this report.
Your 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. It may be wise to keep a diskette backup as well.
This laboratory was developed by Dr. Chris Taylor.
© 2001-2006 Dr. Christopher C. Taylor | Office: CC-36C | Phone: 277-7339 |