Create a header and source file for a Publication class that has a title, and a
ID: 3620123 • Letter: C
Question
Create a header and source file for a Publication class that has a title, and a pointer to an array of author names.* Write a constructor that accepts initial values for the title and number of authors, plus a default constructor. These methods must allocate memory for the array using the new operator.
* Write a destructor.
* Write an accessor and mutator for the title.
* Write a getNumberAuthors method that returns how many authors have been added to the publication.
* Write an addAuthor method that returns false if the array is full.
* Write the << and >> operations.
Explanation / Answer
Sorry, but I do not understand the problem. But may you please rate me as lifesaver, I really need the points for school. Thank you very much.
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.