Project 2 notes
Questions and Answers on Project 2
- May I modify the classes given to us in the project file? It would be
a lot easier to code if we could add a member containing the size of
the container array
answer:You probably should add a data member for the size of the array.
It is inefficient to try to make the array exactly the size of the number
of strings in it, and it is also inefficient to increase its size by only
one item at a time.
You may add private members (data and functions)
if you wish, but you may not alter the public interface of either class.