Question: Using C++ object oriented programming, create a singly linked list. The singly linked list is a chain of its item. Each item contains two partsdata

Using C++ object oriented programming, create a singly linked list. The singly linked list is a chain of its item. Each item contains two partsdata and pointer. The data part is to store information and the pointer part of an item is used to point or to store the address of the next item.

You are asked to build a singly linked list that has two pointersone(pfirst) points to the first item of the list and another one(plast) points to the last item of the list. The program should also provide a menu of choices that the user can use to do basic operations on the linked list such as a) adding a new item, b) delete an item, c) show the number of items, d) show all items, or simply to exit.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!