Question: C++ General Description: You will write a program in C++ that uses a class bookType, which will hold specific information about a book, and various

C++

General Description: You will write a program in C++ that uses a class bookType, which will hold specific information about a book, and various functions to be performed on a book. You will define an array to hold 5 books and read in the information about the books from a data file called bookInfo.txt. The program will then ask the user to search for a book based on some of the info (Tile or Author or ) and display the information about the book if it is in the list.

Details:

A bookType will store the following information about a book:

Title

Author

ISBN

Price

Number of copies in stock

The operations that should be performed on a bookType are:

Show the different pieces of information (i.e. Title, author, etc.)

Set the different pieces of information

Check if a title is an actual title of a book, author is an actual author, etc.

The class must have a default constructor that sets the member variables to a default value

The class definition MUST be in a file called bookType.h, and the class function definitions must be in a file called bookTypeimp.cpp.

You must have internal documentation.

You must email me your code (all three files)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!