Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

C++ Please use all concepts.. inheritance, polymorphism, container, templates Could be done in those topic... thanks The objective of the Final Project is to write

C++
Please use all concepts.. inheritance, polymorphism, container, templates image text in transcribed
Could be done in those topic... thanks
image text in transcribed
The objective of the Final Project is to write a program which incorporates several advanced concepts and corresponding C++ constructs, such as Inheritance Polymorphism Containers and STL Templates Generic Algorithms The Final Project application will use a collection of several types on elements placed in a class hierarchy, so we can leverage polymorphism to manage the items at a common, denominator level, while also utilizing specialized aspects, unique to each type. In order to accomplish this, the container will have to store the base class pointers, as handles to sub-classed specia items. The collection will be organized in a STL container ill use a generic algorithm to effciently sort and search the container. The project will also incorporate a custom function template to capture an algorithm common for both sub-class types, but applied to a specific type. The functionality, encapsulated in methods and invoked through the menu, will include the following, Adding an item to the container Sorting the container based on an items' base class attribute (identifier, serial number, tag, etc.) Searching for an item in the container. Prompt the user to select or enter an identifier. Removing a located item from the container Displaying the sorted list of items, detailing their attributes

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_2

Step: 3

blur-text-image_3

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

Students explore these related Databases questions