Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a C++ progam that use the techique of Composition . Using ECLIPSE for the quesion A and question B, A) Implement the class
write a C++ progam that use the techique of "Composition".
Using "ECLIPSE" for the quesion A and question B, A) Implement the class Student seen in the class. Create a driver (i.e., a timetest.cpp file that contains the main function) to test the class. You need to submit the following files: student h, student.cpp, stest.cpp. B) Create a class StudentList that contains Student objects. It has the following data members: class StudentList private: static const size t LIST SIZE 150: ll the maximum items in the list Student items: ll items will point to the dynamically allocated array size t numitems, the number of items currently in the list public define and complete the members functions of studentlist 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
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