The purpose of this assignment is to design and implement a DVD Rental Application that allows a DVD shop owne?
-
The purpose of this assignment is to design and implement a DVD Rental Application that allows a DVD shop owner to perform regular daily operations (a detailed list of the functionality needed is provided in the next section). The following aspects in C++ will be enforced: • Handling Advanced Structures • Handling Pointers • Handling Abstract Data Types (Linked Lists are recommended) • Handling File I/O The remainder of this document will guide you through the details of the assignment. This assignment is a long one. You are advised to start with it as soon as possible. 3 Description For this application, we will assume that there are three functionalities required by the shop owner: (1) Manage Customers (2) Manage Products (3) Issue Receipts. All records created by this application will be saved in a Database. For simplicity, we will choose our database to be a plain text file. 3.1 Manage Customers Before we can start the renting process we must first allow the user to create, delete, and change status of customer records. All the records created should be saved in a file called users.dat. A customer record consists of the following: 1. ID: A unique number given to each customer 2. Name: The full customer name 3. Address: The street where the customer lives 4. Status: The current customer status <active or inactive> All the record fields except the ID should be filled by the user whenever they wish to create a new customer record. The ID will be generated automatically by taking the first three letters from the Name and appending them to a number that represents how many times this Name has been used before (this could involve a simple search operation). Example: mat0, mat1 ... mat13. 3.2 Manage Products Now that we are able to create clients, we can move on to create DVD records. All DVD records created must be stored in a file called dvd.dat. A DVD record is comprised of the following: 1. Name: The name of the DVD 2. Price: The price of the DVD 3. Serial: The DVD serial# All the record fields must be filled by the user whenever they wish to create a new DVD record. 3.3 Manage Receipts Now that the infrastructure is implemented, we can start renting DVD disks. This can be achieved by using Receipts: every time some customer rents a DVD we issue a receipt for him/her. Every time we create a receipt record, we must store it in a file called unpayed_receipts.dat, which obviously keeps track of all the un-paid receipts. Every time we pay a receipt, that record is moved from the file unpayed_receipts.dat to payed_receipts.dat; this is meant to keep track of all issued receipts. Note 1: Deleting receipts is not a common thing to do; that is why we do not need to implement it in this program Note 2: Paying a receipt can be done in partial. So if i have a receipt with value 100$, I can pay 50$ now and 50$ later. In this case, the receipt record in the un-paid file until it is fully paid. 4 Required Functionality All the required functionality can be viewed in the sample executing of the program listed below: C:> DVDManager.exe +------------------------------------… | Welcome to the DVD Manager | | Created by: Dr. C | +------------------------------------… Main Menu: 1- Manage Customers 2- Manage DVD Disks 3- Manage Receipts 4- Exit Enter Choice > 1 Manage Customers Menu: 1- Create New Customer 2- Delete Customer 3- Update Customer Status 4- View Customer List 5- Back to Main Menu Enter Choice > 5 Main Menu: 1- Manage Customers 2- Manage DVD Disks 3- Manage Receipts 4- Exit Enter Choice > 2 Manage DVD Disks Menu: 1- Create New DVD Record 2- Delete DVD Record 3- View DVD Disk List 4- Back to Main Menu Enter Choice > 4 Main Menu: 1- Manage Customers 2- Manage DVD Disks 3- Manage Receipts 4- Exit Enter Choice > 3 Manage Receipts Menu: 1- Issue New Receipt 2- Pay a Receipt 3- View Outstanding Receipts List 4- View All Receipts List 5- Back to Main Menu Enter Choice > 5 Main Menu: 1- Manage Customers 2- Manage DVD Disks 3- Manage Receipts 4- Exit Enter Choice > 4 Thank you for using the DVD Manager, Exiting ...
-
Answer:
Trick question, no one rents media any longer. I just saved you a lot of time.
Confused at Yahoo! Answers Visit the source
Other answers
hi, better have some online assitance from some websites like fastcustomessays com, which i used in the university for solving such problems come on the way while working on a paper like this. Iff you have enough time and could find some good resources for the paper, then write it urself, else such assistance will direct you on how to complete this as requested by the tutor as per the university standard prescribed for it
Deley
Related Q & A:
- How can I burn a .rmvb file onto a DVD for viewing on a regular DVD player?Best solution by Yahoo! Answers
- Will 'Kodak DVD-R' discs work in a DVD player if I burn movies onto them?Best solution by kodak.com
- Would a DVD-R work in a portable DVD player?Best solution by Yahoo! Answers
- Is a DVD-RW disk different from a DVD-RAM disk?Best solution by askdavetaylor.com
- How do I burn a DVD on my computer to a DVD disc?Best solution by windows.microsoft.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.