Question: C++ Linked List In this lab exercise, you will develop a design for your next programming project, where you will implement and test a linked
C++
Linked ListIn this lab exercise, you will develop a design for your next programming project, where you will implement and test a linked list. Refer to the textbook, the slides on Linked Lists and the supplementary material in this lab if you need some help remembering what a linked list looks like. You may also want to peek ahead at project #13. Your Linked List project will require two classes: The Node class: Objects of the node class will contain a three data members:
You should provide the necessary constructors, getters and setters for the Node class. The List class: You need an object of this class to head the list. This class has three data members:
You should provide the following functions in your List class:
Create a class diagram for the Node and List class. Then create a header file for these two classes. Include function prologues with appropriate pre- and post-conditions. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
