1. Design your own linked list class to hold a series of integers using C++. The class...
Fantastic news! We've Found the answer you've been seeking!
Question:
1. Design your own linked list class to hold a series of integers using C++. The class should have member functions for appending, inserting, and deleting nodes. Don't forget to add a destructor that destroys the list. Demonstrate the class with a driver program.
2. Modify the linked list class you created to add a print member function. The function should display all the values in the linked list. Test the class by starting with an empty list, adding some elements, and then printing the resulting list out.
Related Book For
Posted Date: