Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

we are using cpp. put comments to help me understand Bookstore Application C++ The Goal is to design two classes Book and Bookstore Manager, the

we are using cpp. put comments to help me understand
image text in transcribed
Bookstore Application C++ The Goal is to design two classes Book and Bookstore Manager, the properties are shown below. The Client will be able to add Book objects to a bookstore object as well as other typical behaviors, such as removing items from the array The Bookstore Manager class will contain Book objects. The Books will be stored in a primitive, 1-dim array, which is dynamically allocated. This will allow the array to be "resized" once it is full. Class book title: string isbn: unsigned int vector string epublisher:string +Book +Bookfint) -Book (string&, int, vectorestring, string&) // Mutator Methods +SetPublisher(string&):void -setISBNint:void setAuthor(int, string bool // Observer Methods *pet Title): string peti() int getAuthor(int): string getPublisher : string .toString: string Class bookstore Manager books Book - imbrBooks: int arrayCapacity.int INIT_SIZE: staic const int -RESIZE_FACTOR: static const int +Bookstore Manager) Bookstore Manager(const Bookstore Manager) Bookstore Manager) // Mutator Methods insert const Book&); void remove const Books): bool remove Publisher(string): int // Observer Methods isEmpty bool capacity(): unsigned listSize(): unsigned search const Book: unsigned getISBNint getAuthor(int): string getPublisher() string +oString): string

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

Step: 3

blur-text-image

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

Intelligent Databases Technologies And Applications

Authors: Zongmin Ma

1st Edition

1599041219, 978-1599041216

More Books

Students also viewed these Databases questions

Question

How do Excel Pivot Tables handle data from non OLAP databases?

Answered: 1 week ago