Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a class StudentList that contains Student objects. It has the following data members: class StudentList{private: static const size_t LIST_SIZE = 150;//the maximum items in

image text in transcribed image text in transcribed

Create a class StudentList that contains Student objects. It has the following data members: class StudentList{private: static const size_t LIST_SIZE = 150;//the maximum items in the list Student 'items;//items will point to the dynamically allocated array size_t numltems;//the number of items currently in the list public://member functions to be defined by to be defined and completed by you} "you have to to use the technique of inheritance" The class should have the following member functions: - One or multiple constructors - A copy constructor - A function that prints all the students' names. - A function that checks if a student exists in a list by given either the ID or the names. - Accessing functions - A destructor Create a driver to test the class. Submit the files: slist.h, slist.cpp, slisttest.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_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

Transactions On Large Scale Data And Knowledge Centered Systems Xxviii Special Issue On Database And Expert Systems Applications Lncs 9940

Authors: Abdelkader Hameurlain ,Josef Kung ,Roland Wagner ,Qimin Chen

1st Edition

3662534541, 978-3662534540

More Books

Students also viewed these Databases questions

Question

What metaphors might describe how we work together?

Answered: 1 week ago

Question

What are some of the possible scenes from our future?

Answered: 1 week ago