Question: Program Assignment 1 CSC 2060 Vector Problem Description: A vector is a data structure similar to an array. Unlike an array, a vector has the
Program Assignment 1 CSC 2060 Vector Problem Description: A vector is a data structure similar to an array. Unlike an array, a vector has the capability of changing its size while the program is running. For this project you are to implement a vector class. While a vector can hold any data type, we will be making this class only for a vector of integers. Add parameters and return types as needed as we discussed in class. The Set and Get functions will take in an element position, this position should be checked to make sure it is currently in the vector.
using C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
