i want two project. one for me and one for my classmate, they have to be different somehow.
Book Class
Design and implement a C++ class which represents a Book, and use this class in a main program which reads in information for multiple books from a data file and outputs them in a nice format to display what books are available for purchase.
Requirements
A book has a title, an author (first and last names), a format (Hardcover, Paperback, Ebook, Audiobook), a publishing date, and a price. NOTE: This should be a number since we will use it later to calculate the total cost of our purchases.
As for member functions, you will want one (or more) constructor functions for this class, a Display function (nicely formatted, no more than 2 output lines per book), and “Get” and “Set” functions for each data member (“Get” functions are functions that return a particular data member, “Set” functions are functions that use a parameter value to set the value of a particular data member).
The main program will read a line from the file, process the data into a book, and display the book until you reach the end of the file. The algorithm for the main program is as follows:
Open input file and check to see that it opened
Read one line containing book information
While not at the end of the file
Process one line of information into a book
Display the book
Read one line containing book information
Close the file
When implementing this algorithm, each step should either be one line of code or a function call. Later on, we will reuse our Book class in another main program for the next project. BE SURE TO SAVE A COPY OF IT.
Submission Guidelines
All source code must include program purpose, your name, date, and other comments, be properly indented and use descriptive variable names where appropriate. Submit a zipped file of your Project folder. This will include your main program (MainBook.cpp) and your class files (Book.h and Book.cpp) as well as the correct directory structure and project files, to the Programming Problem 3 drop box in D2L. I will be looking at the code and running the program from your project. Your grade will depend on how it compiles and runs, if the desired output is produced, and programming style.
Ethical Programming Guidelines
· This is an individual assignment; the work you turn in must be yours and yours alone.
· You are free to share conceptual ideas (BUT NOT CODE) with fellow students without any computing device present.
· You are free to use any example code provided by the instructor.
· You can consult SIs and the instructor for assistance with your code, but you must have your algorithm written before you will get help.
· You may NOT share code with another student.
· You may NOT “team” code.
· You may NOT coach code another student.
· You may NOT solicit help from the Internet (forums, crowd-source your project).
Why Work with Us
Top Quality and Well-Researched Papers
We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.