Question: C++ (please use comment on each line of code to shows what does it do and what its' mean) Thank you! Project 2 is an

C++ (please use comment on each line of code to shows what does it do and what its' mean) Thank you!

Project 2 is an individual assignment that focuses on object-oriented programming and lists. The list will be a doubly-linked list and it will be implemented using nodes and pointers. The data contained in the list will objects from a class.

Project data: You will choose the following class to define: Food. You may also choose a sub-class of one of the previous choices. Your class code will include a .h class interface file and a .cpp class definition file. You will choose the data attributes of your class.

Project data structure: Additionally, you will create classes for a doubly-linked list that will manage a collection of the objects from section (a). The list will use dynamically allocated nodes.

For a user to work with your data and list, you should write a fully functional menu with the following options:

Adding to the front of the list

Adding to the back of the list

Searching and displaying a specific item in the list

Edit a specified item from the list

Removing an identified item from the list

Displaying the entire list

Ending the program

The following files are required:

The class driver similar to WorkingWithBooks.cpp (c).

The class declaration similar to Book.h (a).

The class implementation file similar to Book.cpp (a).

A header file for the node class similar to Node.h (b).

A header file for the list similar to SinglyLinkedList.h (b).

A class implementation file for the list class similar to SinglyLinkedList.cpp (b).

Additionally follow all these project instructions:

Your project folder name should contain your last name in it.

Your node file should contain your class name in it (e.g., HobbyHode.h)

Your list file name should contain your class name in it (e.g., HobbyList.h and HobbyList.cpp)

Your program should run. Comment out any part of your file that does not work and briefly explain why you think it does not work.

Submit a .zip zipped project folder (not a .rar folder) which will include all the projects files.

Grading [100 points total]:

Code should be documented and use meaningful identifiers 10 points

Code should be well-structured and easy to read 10 points

Files named properly and project folder zipped up properly 10 points

Adding to the doubly-linked list 15 points

Removing from the list 15 points

Searching the list 15 points

Editing the list 15 points

Overall running of the program

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!