Upon successful completion of this workshop, you will have demonstrated the abil
ID: 3622800 • Letter: U
Question
Upon successful completion of this workshop, you will have demonstrated the abilities to design a C++ struct that includes some behavior and to use dynamic memory allocation. ClassList struct Design a C++ struct named Classicist that holds a list of classes. The size of the list is only limited by the amount of memory that is available. Include in your design the following public member functions: an initialize for the listing data void initialize() ; init a list of classes (at least 10 classes) by requesting user to input from keyboard. a modifier that sort all of the items in the list in descending order void sort() ; a query that displays all of the classes in the list void display() const; insert each class into the standard output stream on a separate line, right justified in a field of 11 characters with class name. To define a field width of 11 on the standard output stream, use the width(11) member function on the cout object For example, the following code produces the output on the right side a query returns the total of classes in the list a wrap-up modifier clean up the ClassList object in whatever way is necessary. Module Design Place your struct declarations in a header file named Classicist h. Place your function definitions in an implementation file mimed ClassList epp.Explanation / Answer
I have no idea
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.