C++ User Defined Vector Class that is a vector of strings called myStringVector. This needs to be a class and have the following member functions: - Default constructor - Initializing with a list of...


C++ User Defined Vector Class that is a vector of strings called myStringVector. This needs to be a class and have the following member functions:



- Default constructor



- Initializing with a list of values


ex) myStringVector vec1 { "My", "string", "vector"};



- Copy constructor



- Copy assignment


ex) myVec1 = myVec2;



- Copy construction


ex) myStringVector myVec1 = myVec2;



- A function to return the number of elements


ex) int vecSize = myVec1.size();




Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here