COSC-052: Computer Science II

Project 5 (Whoo hoo!)
Spring 2023

Due: T 5/2 @ 11:59 PM
10 points

This project involves implementing a resizable Vector ADT using a dynamically-allocated C array. Use vector.txt to get started.

It also involves implementing a C++-style forward iterator. Use viterator.txt to get started.

p5 documentation in HTML.

As with previous projects, test your implementation of the Vector<T> class in main.cc. We will use our own main function to evaluate your class. You must not modify the class name or the public interface. Our main.cc will include only main.h, so put all necessary includes there. You should not need to declare any additional methods or data members. Use the Makefile from the previous project with the appropriate modifications.

Instructions for Electronic Submission: In a file named HONOR, please include the statement:

In accordance with the class policies and Georgetown's Honor System,
I certify that, with the exceptions of the class resources and those
items noted below, I have neither given nor received any assistance
on this project.

Name
NetID
Include this file in your zip file submit.zip.

Submit p5 exactly like you submitted p4. Make sure you remove all debugging output before submitting.

Plan B

If something goes wrong with Autolab, upload your zip file to Canvas.

Copyright © 2023 Mark Maloof. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.