Introduction - If you have any usage issues, please Google them yourself
1. Implement the priority queue of STL model;
2. Implement all declared functions
Key content:
1. New Class: Class bid models a bid placed on an advertisement.
2Changes to class Advertisement: to store all of his user information and put it in the priority queue.
Important methods:
Priority_queue & lt; Bid> & Advertisement: : getBids (void)
Vector< Bid> Advertisement: : getTopDutchBids (void) const
3Changes to class Client: to hold all the bids from the user.
Important method: void Client::addBid (int item)
{bids. Push_
Void Client::addOffering (int item)back(item)
4 function displayBidHistory
The first HTML displays the desired number of bids. The following prerequisite skills are to be mastered.
Knowledge of STL priority_queue- Basic use of the container
C++ Class Specification- Produce c ++ Class implementations
Goals: This assignment is designed to reinforce the student s understanding and use of the STL priority_queue.
Outcomes: Students successfully completing this assignment would master the following Outcomes.
The Use of the STL priority_queue
Produce c ++ class implementations given class declarations