Answered step by step
Verified Expert Solution
Link Copied!

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.

  1. 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.
    1. Sphinx Egyptian Hairless
    2. Garfield Italian Hairy
    3. Siamese Thailand Hairy
  2. 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.
  3. For a user to work with your data and list, you should write a fully functional menu with the following options:
    1. Adding to the front of the list
    2. Adding to the back of the list
    3. Searching for and displaying a specific item in the list
    4. Editing a specified item from the list
    5. Removing an identified item from the list
    6. Displaying the entire list
    7. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

MFDBS 89 2nd Symposium On Mathematical Fundamentals Of Database Systems Visegrad Hungary June 26 30 1989 Proceedings

Authors: Janos Demetrovics ,Bernhard Thalheim

1989th Edition

3540512519, 978-3540512516

More Books

Students also viewed these Databases questions