Question: Data Structure using C++ Write a singly linked list to store a list of integers. The class should have a default constructor to instantiate an
Data Structure using C++
Write a singly linked list to store a list of integers. The class should have a default constructor to instantiate an empty list. The linked list should have the following functions at a minimum: insert(), remove(), empty(), get(), set(), search(), print(). These functions should perform in the manner we discussed in class. You should have a .h and a .cpp file for the linked list class and a main.cpp for testing. Your code should document each function, and the class, with comments.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
