Show Bid Request
Simple c++ Class
Bid Request Id: 32586
|
|
|
Posted by: |
BGreen (5 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 0.00%
|
Posted: |
Oct 26, 2002 10:04:33 AM EDT
|
Bidding Closes: |
Oct 27, 2002 11:30:41 PM EDT
|
Viewed (by coders): |
113 times
|
Deadline: |
10/28/2002
TIME EXPIRED
|
|
|
|
Description:
Hi, this is the program problem.I'm doing a part of the project about the packaging and shipping system that take the item from the sender and send it to the intend receiver(like UPS or FEDEX). I just need the code in C++ for the classes describe below: 1-class Customer 2-class CreditCard 3-class Receiver 4-class Package
Deliverables: In class Customer, I need this detail code: class Customer { public: Customer(string firstname, string lastname, string company, string address, string city, int zip, int phone, int pin) { } Customer(ifstream & file) { }
string GetFirstName() { return string("first"); } string GetLastName() { return string("last"); } string GetCompany() { return string("comp"); } string GetAddress() { return string("add"); } string GetCity() { return string("city"); } int GetZip() { return 75002; } __int64 GetPhone() { return 9723597224; } int GetPIN() { return 1234; }
void SetFirstName(string s) { } void SetLastName(string s) { } void SetCompany(string s) { } void SetAddress(string s) { } void SetCity(string s) { } void SetZip(int zip) { } void SetPhone(int num) { } void SetPIN(int pin) { }
void AddPackage(Package & p) { } int GetNumberOfPackages() { return 0; } Package * GetPackage(int index) { return NULL; } void AddCreditCard(CreditCard & c) { } int GetNumberOfCreditCards() { return 0; } CreditCard * GetCreditCard(int index) { return NULL; } void AddReceiver(Receiver & r) { } int GetNumberOfReceivers() { return 0; } Receiver * GetReceiver(int index) { return NULL; }
void WriteToFile (ofstream & file) { } void ReadFromFile (ifstream & file) { } }; In class CreditCard: class CreditCard { public: CreditCard(int type, int number ) { } CreditCard(ifstream & file) { }
int GetType() { return 2; } int GetNumber() { return 13; } }; In class Receiver: class Receiver { public: Receiver(string firstname, string lastname, string company, string address, string city, int zip, int phone) { } Receiver(ifstream & file) { }
string GetFirstName() { return string("first"); } string GetLastName() { return string("last"); } string GetCompany() { return string("comp"); } string GetAddress() { return string("add"); } string GetCity() { return string("city"); } int GetZip() { return 75002; } __int64 GetPhone() { return 9723597224; }
void WriteToFile (ofstream & file) { } void ReadFromFile (ifstream & file) { } }; In class Package: class Package { public: Package (Route & aRoute, int trackingID, int timesent, Receiver & aReceiver) { } Package(ifstream & file) { }
int GetTrackingID() { return 2020; } string GetOriginatingLocation() { return string("Your house"); } string GetDestination() { return string("My house."); } int GetTimeSent() { return 0; } int GetArrivalTime() { return 1; } string GetCurrentLocation(int currentTime) { return string("Im here"); }
void WriteToFile (ofstream & file) { } void ReadFromFile (ifstream & file) { } };
Note: Some number and name I just put there for testing the program. You can put anything on it to test. I need the complete details code tested of all of these class.
Platform:
The program will run on window XP, with the Borland C++ compiler.
Must be 100% finished and received by buyer on:
Oct 28, 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:
Must be completed and deliverd by 10/28/2002 around 1AM.
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!
|
$10 (USD)
|
Oct 26, 2002 11:37:31 AM EDT
|
9.74
(Excellent)
|
|
|
Hello,
Looks like you have your classes all setup. I can complete your member functions within a day.
A IDLER Chief Software Architect Idleswell Software Creations |
|
|
|
|
|