Question: you will be starting to write a templated linked list class. It can be either a doubly, or singly linked list (circular is extra credit)
you will be starting to write a templated linked list class.
-
It can be either a doubly, or singly linked list (circular is extra credit)
-
have a node class and list class
-
have the list class keep track of the head (and tail for doubly)
-
create an insertion function
-
create a function that prints all in the list
-
Have a main which inserts 4 items into the list and then prints them.
Remember to test out your template with 2 different type of items.
C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
