Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In C++ This project is an assignment that focuses on object-oriented programming and lists. The list will be a doubly-linked list and it will be
In C++
This project is an 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 define the class Cat. 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. There should be at least 3 data attributes.
- Sphinx Egyptian Hairless
- Garfield Italian Hairy
- Siamese Thailand Hairy
- 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 for and displaying a specific item in the list
- Editing a specified item from the list
- Removing an identified item from the list
- Displaying the entire list
- Ending the program
Additionally follow all these project instructions:
- Your node file should contain your class name in it (e.g., CatNode.h)
- Your list file name should contain your class name in it (e.g., CatList.h and CatList.cpp)
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