Question: Help me with this please. Also, i want the code with the main function. Question 1. #ifndef VECTOR HPP #define VECTOR HPP class Vector Vector()


Help me with this please. Also, i want the code with the main function.
Question 1. #ifndef VECTOR HPP #define VECTOR HPP class Vector Vector() // default constructor sets size to e Vector(int s) makes sizes /fallocates s space //makes all entries Vector(const Vector&rhs) copy constructor /makes self a deep copy of rhs Vector operator (const Vector&rhs //makes self a deep copy of rhs return this; Vector default destructor void print // Prints out the vector void set (int int pos) /1 if e
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
