(C++) Do not #include You are going to create a vector of strings. a. Define a class, making good us of protect
Posted: Sun May 15, 2022 12:40 pm
(C++)
Do not #include <vector>
You are going to create a vector of strings.
a. Define a class, making good us of protected: and public:,
that implements a vector of strings. Give your class a
constructor.
b. Give your class a method for adding a new string to the end
of the vector.
c. Give your class a method for adding a new string to the
beginning of the vector.
Do not #include <vector>
You are going to create a vector of strings.
a. Define a class, making good us of protected: and public:,
that implements a vector of strings. Give your class a
constructor.
b. Give your class a method for adding a new string to the end
of the vector.
c. Give your class a method for adding a new string to the
beginning of the vector.