How Software Gets Done  


Login

Software Buyers
Request bids
Search coders
My Buyer Account
Buyer help
Buyer articles
Buyer FAQ
Latest news
 
Software Coders
Newest open work
Browse all work
Search all work
My Coder Account
Coder help
Coder articles
Coder FAQ
Latest news
 
Affiliates
My Affiliate Account
Affiliate help
Affiliate FAQ
Latest news
 
Newest Bid Requests.
(See all)
ASP and Excel import to SQL
By wow1234 on Sep 18
Max Bid: $10


Serious Main Page Redesign
By passionatesac on Sep 18
Max Bid: Open to fair suggestions


jpeg validator resize program
By coderod on Sep 19
Max Bid: Open to fair suggestions


Win2k drivers for Sony VAIO PCG-505TX
By hketola on Sep 18
Max Bid: $20


WORKING ASSETS
By Galexa1611 on Sep 18
Max Bid: $500


NTFS/FAT16/FAT3 2 file and directory manipulation
By NDawg on Sep 18
Max Bid: $75


Click here to put this ticker on your own site and/or get live RSS newsfeeds

Open Work Categories.
Database 
(206 open)
   Access 
(72 open)
   MySQL 
(118 open)
   Oracle 
(11 open)
   SQL Server 
(82 open)
   Other DB 
(23 open)
Documentation / Tech Writing 
(26 open)
   Language (Human) Translations 
(11 open)
Data Entry 
(43 open)
Game Development 
(20 open)
Graphics / Art / Music 
(57 open)
   Graphics 
(61 open)
     Adobe AfterEffects 
(10 open)
     Adobe Photoshop 
(33 open)
     Adobe Premiere 
(8 open)
     3d Animation 
(16 open)
   Art (Misc.) 
(16 open)
   Music 
(9 open)
   Photography 
(5 open)
   3d Modeling 
(13 open)
Language Specific 
(141 open)
   Assembly / Machine language 
(12 open)
   ASP 
(69 open)
   ASP .NET 
(70 open)
   C# 
(71 open)
   C++ / C 
(154 open)
   Carbon (Mac OS) 
(4 open)
   Cocoa / Obj-C 
(5 open)
   Cold Fusion 
(16 open)
   Delphi 
(57 open)
   Java 
(88 open)
   JSP 
(15 open)
   Perl 
(53 open)
   Python 
(6 open)
   PHP 
(119 open)
   XML/XSL 
(40 open)
   Visual Basic 
(166 open)
   Visual Basic .Net 
(110 open)
   Other 
(78 open)
Misc 
(32 open)
   Middleware 
(2 open)
   CAD 
(5 open)
MultiMedia 
(30 open)
   Video Editing 
(6 open)
Network 
(34 open)
   Network Design 
(4 open)
   Network Implementation 
(7 open)
Platforms 
(71 open)
   Windows 
(194 open)
     MS Exchange 
(14 open)
     MS Office 
(23 open)
     Other 
(12 open)
   Darwin 
(3 open)
   Embedded Systems 
(9 open)
   Hand Held/PDA Programming 
(13 open)
   Internet Browser 
(50 open)
   Linux 
(73 open)
   Lotus Notes / Domino 
(2 open)
   UNIX 
(36 open)
Requirements 
(8 open)
Security 
(31 open)
Testing / Quality Assurance 
(14 open)
Web 
(185 open)
   Page Design 
(91 open)
   Flash 
(62 open)
   Marketing 
(18 open)
     Search Engine Optimization 
(11 open)
     Marketing (Other) 
(15 open)
   Web Services 
(97 open)
   Web (Other) 
(107 open)
Training 
(9 open)
   Computer Based 
(12 open)
Other
 
Other Sites

Download the free Rent A Coder IE toolbar!
 
Show Bid Request

really simple video store
Bid Request Id: 14108
Bookmark in my 'To Do' list
Posted by: GACHE (11 ratings)
(Software buyer rating 10)
Non-action Ratio: Above Average - 40.00%
Buyer Security Verifications: Good
Approved on: Apr 19, 2002
11:46:18 PM EDT
Bidding Closes: Apr 22, 2002 EDT
Viewed (by coders): 251 times
Deadline: 4/23/2002
TIME EXPIRED
Phase:
100% of work completed and accepted. Coder has been paid.
Max Accepted Bid: Bidding is closed
Project Type: Personal Project / Homework Help
Bidding Type: Open Auction
Categories: Language Specific, C++ / C
Enter chat room for this bid request
(0 active users at Sep 19, 2003 7:31:58 AM EDT)

Description:
CONCEPTS: Linked Lists
write a program for running a (simple) video store
When a customer comes to the check out counter, the assistant asks if the customer has been there before. If the customer has not been to the store before, the new customer has to be added to the system: name and credit card number of the customer are required for this. If the customer is not new, the assistant asks for his name and retrieves the account for this customer. After the assistant has entered the customer&'s name into the system, the customer mentions one video title that he would like to check out. The assistant looks up if there are still copies of that video title available. The store has multiple copies of each video, which are distinguished by the title of video together with the copy number. If there are copies left, the assistant gives that video to the customer and updates the inventory system accordingly (i.e. adds the information that this copy of this title has been checked out by this customer and the due date). If the store is out of copies of that video, then nothing needs to be done. Otherwise, the assistant tells the customer the total amount he has to pay. The customer is charged $3.99 for a 3-day rental of a new release, and $2.99 for a 5-day rental of a classic video. The customer also has to pay any outstanding balance of his account (late fees of previous rentals), if applicable. Assume that all customers pay the whole amount right away, so after checkout the customer&'s account balance should be 0.00. When customers bring back videotapes, they simply throw them into the drop box. When the shop assistants take the videotapes out of the drop box, the videos are identified by the title and the number of the tape copy, and the inventory needs to be updated with the information that that particular tape was brought back. If that tape was overdue, the customer&'s account should be charged with $2 per late day. The customer who rented this movie can be determined because that information was stored in the record for that videotape at checkout time.
1. You need a sorted list of video title records, and a sorted list of customer records. The sorted-list code should be implemented as a linked list in both cases. The video title list and customer list should be ordered alphabetically by name.
2. You&'ll need a class to store the information pertaining to a video title, and another to store the information pertainin

Deliverables:
2. You&'ll need a class to store the information pertaining to a video title, and another to store the information pertaining to a particular copy of a video (a tape). As explained in the description of the store, there are several copies of each video title. The video title class should contain a list of the copies of this video title (who rented this copy, when is it due, etc).
To recap: you have to implement the list of video titles with a linked list, but you should implement the list of copies of each title with an array. Assume that the name of the video title (e.g cats&dogs) is a single word that does not contain spaces. Notice that you&'ll have to update a customer&'s record if the videotape (a particular copy) is brought back late.
3. You&'ll need another class to store the information pertaining to a customer. the customer record should NOT contain a list of the movies that the customer has currently checked out, only the necessary financial information (and the customer&'s name of course). Assume that the customer has only one name to simplify the assignment. Read the description very carefully all data pieces mentioned should be represented in your program (due dates, customer balance, etc.)
Further details:
1. Do not use STL classes, but using C++ string class is a MUST.
2. assume there is a global integer variable today that contains the day of the year to represent the date (i.e. January 1 is day 1, and Dec 31 is day 365). At the start of the program, this day should be initialized with 100.
3. At the start of the program, the program should read the list of video titles from an input file “video.txt”. The file contains information about each video title in the following form (one title per line):
videotitle numberofcopies newrelease
videotitle is a single word (string), numberofcopies is an integer, and newrelease is either 1 or 0. The name of the input file should be passed into the program as command-line argument.
4.assume that at the start of the program, all videos are in the store, and the store does not have any customers yet.
5. Assume that the assistant enters all video titles and customer names in small caps.
6. You do not have to implement elaborate error checking, only what&'s specifically indicated below.
User interface:
The main function should offer the user (i.e. the store assistants) the following options in a loop that returns to this menu after finishing the respective task (with exception of the last one):
1. add new customer
2. check-out
3. return video
4. advance day
5. exit program
The user should type in the number (1-5) to select an option.
For the first three options, the program has to ask for additional information as necessary For option 1, the program should ask for and input the name of the customer. Don&'t add this customer if the name is already in the list. Thus, the program output and user input should look like:
Enter new customer name and credit card number:
john_smith 123456789
john_smith added as a customer
for option 2, assume that only a single video is to be checked out each time. If the customer wants more than one tape, the assistant will have to choose that option again, and the customer will get one bill for each tape. That&'s not particularly realistic but it&'ll keep the user-interaction code simple. Thus, in option 2 the program should ask for the customer name and the video name:
Enter customer name and video name
john_smith star_wars
This rental should be rejected if john smith is not a customer, if star wars is not a movie or if all copies of star wars are checked out.


Platform:
For option 3, the program should ask for the movie name and copy number.
Enter movie name and copy number
star_wars 2
Reject this if the movie name is wrong, the copy number does not exist, or the copy has not been checked out. Notice that the customer name is NOT available, only the tape title and copy number. Make sure that you update all data structures properly: the tape should be available after it&'s returned, and the customer needs to be charged money if the tape was late.
For option 4, the program should simply increase the day variable. For option 5, the program should deallocate all dynamically allocated memory and then exit.
video.txt:
casablanca 3 0
goldfinger 2 0
terminator 2 0
planet_of_the_apes 2 0
doctor_zhivago 1 0
easy_rider 3 0
ghostbusters 2 0
shrek 5 1
legally_blonde 5 1
cats_&_dogs 3 1
the_golden_bowl 3 1
the_animal 5 1


PLATFORM UNIX

Must be 100% finished and received by buyer on:
Apr 23, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.

Special Conditions / Other:
MOST OF THE WORK COMPLETE IF NOT ALL BY APRIL 21ST NIGHT


Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements. We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation. If you notice a violation please help out the site and report it. Thanks for your help.
 
Bidding/Comments:
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests.

See all rejected bids (and all comments)
Name   Bid Amount 
 
Date   Coder Rating  
This bid was accepted by the buyer!
Saquib
(35 ratings)
in Ypsilanti, Michigan
United States
Bid id: 154,798
 
$20 (USD) Apr 20, 2002
12:49:36 PM EDT
 9.97
(Excellent)
   
I can have it done with good, simple and easy to understand comments by morning of 21st if you accept my bid now..
 
 
 
 
  There are 5 private replies to/from Saquib. Click here to view them.
 




Bid Request Search
 Advanced Search
Newest Open Work
Latest News  
Credentials


 

 
Rent A Coder upholds the rigorous business practices required to be both a BBB member and Square Trade vendor.
  • All customer issues addressed within 2 days
  • Openly disclosed pricing and return policies
  • Participation in mediation at buyer request
  • Superior selling track record
This site is verified through its parent company, Exhedra Solutions, Inc.
 
Top Coders.

Securenext
Rated a 9.97 on 122 jobs 
Buddies
Rated a 9.85 on 94 jobs 
Codman
Rated a 9.97 on 158 jobs 
hernest
Rated a 10 on 122 jobs 
Andrei Remenchuk
Rated a 10 on 14 jobs 
D-N-S
Rated a 9.93 on 39 jobs 
markesh
Rated a 10 on 23 jobs 
Maxnet Technologi es Private Limited
Rated a 9.93 on 86 jobs 
GribFritz
Rated a 9.89 on 144 jobs 
PSergei
Rated a 9.77 on 105 jobs 

See all top coders...

(What makes a top coder?)

Top Exam Scorers

 
Other
Rent A Coder is PayPal verified through its parent company, Exhedra Solutions, Inc.

Created in partnership with:

 

Affiliate Sites
Latest News | About Us | Kudos | Feedback/Contact    Affiliates | Advertise    Privacy | Legal

Copyright © 2001, Exhedra Solutions, Inc. All rights reserved.
By using this site you agree to its Terms and Conditions.
"Rent A Coder" (tm), "Safe Project Escrow" (tm) and "How Software Gets Done" (tm)
are trademarks of Exhedra Solutions, Inc.