▍1. 1,实现stl模型的优先队列; 2,实现所有声明的函数 关键内容: 1新建的类:bid:Class Bid models a bid placed...
1,实现stl模型的优先队列; 2,实现所有声明的函数 关键内容: 1新建的类:bid:Class Bid models a bid placed on an advertisement. 2Changes to class Advertisement:要存放所有 竞拍他的用户信息,并根据他们放到优先队列中。 重要方法: priority_queue& Advertisement::getBids(void) vector Advertisement::getTopDutchBids (void) const 3Changes to class Client:要存放用户所有 竞拍东西。 重要方法:void Client::addBid (int item) {bids.push_ void Client::addOffering (int item)back(item) } 4Function displayBidHistory 先HTML 下 显示出来 一个advertisement 下的各个 符合要求的bids。-Prerequisites: Students should have mastered the following prerequisite skills. 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. Use the STL priority_queue Produce C++ class implementat