Show Bid Request
Microwave
Bid Request Id: 72991
|
|
|
Posted by: |
Cougar (35 ratings)
(Software buyer rating 10)
|
Non-action Ratio: |
Very Good - 19.35%
|
Buyer Security Verifications: |
Excellent
|
Approved on: |
Jul 13, 2003 9:53:14 PM EDT
|
Bidding Closes: |
Jul 27, 2003 9:49:41 PM EDT
|
Viewed (by coders): |
165 times
|
Deadline: |
7/16/2003 10:48:49 AM (2 days after 7/14/2003 10:48:49 AM)
|
|
|
|
Description:
// Homework 1. Due 8:00AM Tuesday July 15th.
// Please turnin hard copy of the Microwave.h and Microwave.cpp.
// You are writing a Microwave that can be started, stopped and you can check
status.
// Start takes the number of seconds to run.
// Start will return a true if successful, false otherwise.
// You can't start if it is already running.
// Calling stop will stop the Microwave. Calling stop when it is not running has
no effect.
// The output generated by this program should be:
/*
Started Microwave, response is success
Microwave in use. 90 seconds left
Microwave not in use
Started Microwave, response is success
Microwave in use. 20 seconds left
Microwave not in use
Started Microwave, response is success
Microwave in use. 40 seconds left
Started Microwave, response is failure
*/
#include <iostream>
#include <windows.h>
#include "Microwave.h"
using namespace std;
void printStatus(Microwave& m)
{
cout << m.status() << endl;
}
inline const char* printBool(bool result)
{
return result ? "success" : "failure";
}
void main()
{
Microwave aMicrowave;
bool result;
result = aMicrowave.start(90);
cout << "Started Microwave, response is " << printBool(result) << endl;
printStatus(aMicrowave);
Sleep(10000);
aMicrowave.stop();
printStatus(aMicrowave);
result = aMicrowave.start(30);
cout << "Started Microwave, response is " << printBool(result) << endl;
Sleep(10000);
printStatus(aMicrowave);
Sleep(21000);
printStatus(aMicrowave);
result = aMicrowave.start(40);
cout << "Started Microwave, response is " << printBool(result) << endl;
printStatus(aMicrowave);
Sleep(10000);
result = aMicrowave.start(10);
cout << "Started Microwave, response is " << printBool(result) << endl;
}
Deliverables: 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.
3) Complete ownership and distribution copyrights to all work purchased.
Platform:
Microsoft Visual C++
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
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!
|
$12 (USD)
|
Jul 14, 2003 3:07:31 AM EDT
|
9.86
(Excellent)
|
|
|
Dear Cougar,
I have read your requirements and it is easy. Just accept my bid and you will get the source code within several hours.
I am eagerly waiting for your reply.
Best Regards, E & D Design and Solution |
|
|
|
|
|