C++ project

C++ project

This is the first iteration on the development of a textbook warehouse inventory management system. This iteration requires a minimum of two user-defined classes. A Book class, with the required interfaces shown below, is used to represent each book in the warehouse. Each is required to have the following attributes: title, one or more authors (no more than 20), publisher, year of publication, cover type (hard/paperback), price, ISBN, and number of available copies. The Book class uses its overloaded stream extraction operator (>>) to retrieve its attributes from the provided database. The Book class also uses its overloaded stream insertion operator (<<) to output the values of its data members. A Warehouse class, with the required interfaces shown below, is a class for storing the list of available books in stock. The Warehouse class uses its overloaded stream extraction operator (>>) to retrieve all the books from the provided database and it uses its overloaded stream insertion operator (<<) to output all the books read in. Since this is a small warehouse, it can only store up to 512 book titles. After retrieving the list of available books from the database, the Warehouse will sort the book lists in ascending order using each book’s ISBN. The Warehouse has a ‘find’ method that allows the user to search a book’s record using the ISBN. The program takes two inputs from the command line: a database file and a search list. The database file stores records of all the books in the warehouse. The search list contains the list of ISBN to be searched.

Source Files:

Book.h – contains the Book class declaration.

Book.cpp – contains the Book class implementation.

Warehouse.h – contains the Warehouse class declaration.

Warehouse.cpp – contains the Warehouse class implementation

proj01.cpp – contains the main function and any global helper functions. The program is required to output the sorted list of books records and the result of each search operation.

Extra Credit (2 pts): Implement an overloaded find method for the Warehouse class to find the list of Book objects published on a given year. The method should return a count of number of books found and the list of Book objects.

Submission: Turn in the printout of the program and three different test runs.Capture the source code and output into a single file.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper