Find Jobs
Hire Freelancers

Create c++ program

$10-30 USD

In Progress
Posted over 4 years ago

$10-30 USD

Paid on delivery
create an AuctionItem class which would need the following data members: 1. private string productName 2. private const double value NOTE: add other member functions as needed create a Bidder class which would need the following data members: 1. private string name 2. private double money 3. private vector of AuctionItem smart pointers 4. private double bidAmount NOTE: add other member functions as needed NOTE2: private vector of AuctionItem smart pointers isn't absolutely necessary ( a bidder can only bid on one item so the vector would have one element at most). A private smart pointer of AuctionItem type can be used. in the main function 1. use an STL container (vector, list, deque) of Bidder objects to hold information about the bidders 2. use an STL container of AuctionItem object smart pointers to hold information about the items up for bid 2.2 NOTE: the use_count smart pointer method will be used to determine the number bids that have been placed on a particular auction item 3. next section of the program will allow the user to input bidder information and auction item information 3.1 a summary of the information entered shall be printed next which includes: 3.1.1 each bidders name and how much money the bidder has 3.1.2 a list of auction items sorted in descending order by value 4. next section of the program will allow each bidder to make one bid on an auction item 5. the results of the auction will be displayed Sample program run appears as follows (user inputs shown in bold): Welcome to the Blind Auction Program! Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 1 Add bidder selected Enter bidder name: Thorp Enter bidder money: 10000000 Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 1 Add bidder selected Enter bidder name: Antonius Enter bidder money: 20000000 Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 1 Add bidder selected Enter bidder name: Ranogajec Enter bidder money: 15000000 Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 2 Add auction item selected Enter product name: Giuseppe_Violin Enter product price: 4000000 Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 2 Add auction item selected Enter product name: Diamond_Panther_Bracelet Enter product price: 7000000 Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 2 Add auction item selected Enter product name: Silver_Cistern Enter product price: 3800000 Select an option: 1. Add a bidder 2. Add an auction item 3. Continue to auction 3 Continue to auction selected! The bidders are: Thorp who has $1e+07 Antonius who has $2e+07 Ranogajec who has $1.5e+07 The auction items are: Diamond_Panther_Bracelet valued at $7e+06 Giuseppe_Violin valued at $4e+06 Silver_Cistern valued at $3.8e+06 Thorp select an item to make a bid: 2 Enter a bid amount: 5000000 Thorp bids 5e+06 on Silver_Cistern Antonius select an item to make a bid: 2 Enter a bid amount: 6000000 Antonius bids 6e+06 on Silver_Cistern Ranogajec select an item to make a bid: 1 Enter a bid amount: 2000000 Ranogajec bids 2e+06 on Giuseppe_Violin AUCTION RESULTS: Diamond_Panther_Bracelet has 0 bids Giuseppe_Violin has 1 bids Silver_Cistern has 2 bids There were no bids for: Diamond_Panther_Bracelet There was one bid for : Giuseppe_Violin Ranogajec wins Giuseppe_Violin! There are 2 bids for Silver_Cistern Thorp bid 5e+06 on Silver_Cistern Antonius bid 6e+06 on Silver_Cistern Antonius wins Silver_Cistern Custom deleter for Auction Item: Diamond_Panther_Bracelet Custom deleter for Auction Item: Giuseppe_Violin Custom deleter for Auction Item: Silver_Cistern
Project ID: 22747830

About the project

4 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
4 freelancers are bidding on average $75 USD for this job
User Avatar
Hi There I've excellent programming and development skills and knowledge. I can provide an efficient, perfect, well documented development of your Programming and Computer project according to 100% accuracy and requirements, with dedicated support. Thanks Farah Saif
$30 USD in 1 day
5.0 (317 reviews)
6.8
6.8
User Avatar
HI I am software engineer and have done many c++ projects. You can share more details with me. Thank you
$150 USD in 7 days
4.9 (59 reviews)
5.9
5.9
User Avatar
Hello! I saw your project details and very interested in it. I have rich experience in developing C/C++ programs for +8 years. If you hire me, you will receive satisfied result. I can work right now and full time for you. I want to know your requirements more details. Thanks.
$50 USD in 7 days
5.0 (3 reviews)
3.3
3.3
User Avatar
Hello Sir, I have carefully read your Job description. I am a software developer along a graphic designer and also have an industry experience. I can program your provided task upto the mark and in the given time as well. I have a strong grip on many programming languages and we can share further details on chat if you consider my proposal. Thank you
$70 USD in 2 days
5.0 (2 reviews)
1.1
1.1

About the client

Flag of UNITED STATES
Bellflower, United States
5.0
1
Payment method verified
Member since Dec 7, 2019

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.