Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started