Now, you'll be modifying listType to have a dynamic array where its size can grow beyond the 1000 integer limit, but only allocate more space if it is needed as your list grows.
In the listTypeImp.cpp file, you'll need to make modifications to theaddmethod, theconstructor, thedeconstructor, thecopy constructor, andoverloading the assignment operator.
You will only need to submit the listTypeImp.cpp file.
Remember that with any class that uses pointers, you should always:
1) Implement a Deconstructor
2) Implement the Copy Constructor so that You Have Deep Copies as Opposed to Shallow Copies
3) Overload the Assignment Operator
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here