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 us
er 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):


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

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.