Completed

Create c++ program

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

Skills: C++ Programming, Engineering

See more: create small program latex, create pizza program visual basic, create merge program text files, create service program vb6, create backup program visual basic, c program of a small job for university, implement a parser that processes sequences of correctly paired ifs and elses in a c program, when you compile a java (or c#) program the compiler generates code written in an intermediate language , when you compile a java or c program the compiler generates code written in an intermediate language, write a c program to accept 10 or more numbers then display the numbers in two columns one column with the numbers as they were , write a C program, write a c++ program to accept 10 or more numbers then: display the numbers in two columns: one column with the numbers as they w, insertion of element in array c program, run a c++ program online, write a c program which can find the root of any function using secanet method, Write a C++ program to assign courses (for final exams) to students such that no student will have two finals scheduled at the s, Build a c++ program, Write a c# program in the next 30-60 min

About the Employer:
( 0 reviews ) Bellflower, United States

Project ID: #22747830

Awarded to:

ZimiSoho

Dear client! I will finish your requirements without fail in a hour. I hope you to chat to me, please! Best regards!

$20 USD in 1 day
(1 Review)
2.3

6 freelancers are bidding on average $70 for this job

urmate

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 requ More

$30 USD in 1 day
(296 Reviews)
6.8
iridescent2x15

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
(55 Reviews)
5.9
FreeXXM

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 y More

$50 USD in 7 days
(3 Reviews)
3.2
Alexsfodik

Hello. How are you. I have full experiences with C family. C, C++, C#, Asp.net, Mssql I can complete your project successfully. Thanks.

$100 USD in 2 days
(1 Review)
2.4
Junaidjd09

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 w More

$70 USD in 2 days
(2 Reviews)
1.1