Description:
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
To Search:
File list (Check if you may need any files):
ssd7exercise5
.............\auction
.............\.......\Apache
.............\.......\......\ABOUT_APACHE
.............\.......\......\Announcement
.............\.......\......\Apache.exe
.............\.......\......\ApacheCore.dll
.............\.......\......\bin
.............\.......\......\...\dbmmanage.pl
.............\.......\......\...\htdigest.exe
.............\.......\......\...\htpasswd.exe
.............\.......\......\...\logresolve.exe
.............\.......\......\...\rotatelogs.exe
.............\.......\......\cgi-bin
.............\.......\......\.......\classified.cgi
.............\.......\......\.......\logged.bin
.............\.......\......\.......\printenv.pl
.............\.......\......\conf
.............\.......\......\....\access.conf
.............\.......\......\....\access.default.conf
.............\.......\......\....\httpd.conf
.............\.......\......\....\httpd.conf.mine
.............\.......\......\....\httpd.default.conf
.............\.......\......\....\magic
.............\.......\......\....\magic.default
.............\.......\......\....\mime.types
.............\.......\......\....\mime.types.default
.............\.......\......\....\srm.conf
.............\.......\......\....\srm.default.conf
.............\.......\......\htdocs
.............\.......\......\......\auction.css
.............\.......\......\......\index.html
.............\.......\......\icons
.............\.......\......\.....\a.gif
.............\.......\......\.....\a.png
.............\.......\......\.....\alert.black.gif
.............\.......\......\.....\alert.black.png
.............\.......\......\.....\alert.red.gif
.............\.......\......\.....\alert.red.png
.............\.......\......\.....\apache_pb.gif
.............\.......\......\.....\apache_pb.png
.............\.......\......\.....\back.gif
.............\.......\......\.....\back.png
.............\.......\......\.....\ball.gray.gif
.............\.......\......\.....\ball.gray.png
.............\.......\......\.....\ball.red.gif
.............\.......\......\.....\ball.red.png
.............\.......\......\.....\binary.gif
.............\.......\......\.....\binary.png
.............\.......\......\.....\binhex.gif
.............\.......\......\.....\binhex.png
.............\.......\......\.....\blank.gif
.............\.......\......\.....\blank.png
.............\.......\......\.....\bomb.gif
.............\.......\......\.....\bomb.png
.............\.......\......\.....\box1.gif
.............\.......\......\.....\box1.png
.............\.......\......\.....\box2.gif
.............\.......\......\.....\box2.png
.............\.......\......\.....\broken.gif
.............\.......\......\.....\broken.png
.............\.......\......\.....\burst.gif
.............\.......\......\.....\burst.png
.............\.......\......\.....\c.gif
.............\.......\......\.....\c.png
.............\.......\......\.....\comp.blue.gif
.............\.......\......\.....\comp.blue.png
.............\.......\......\.....\comp.gray.gif
.............\.......\......\.....\comp.gray.png
.............\.......\......\.....\compressed.gif
.............\.......\......\.....\compressed.png
.............\.......\......\.....\continued.gif
.............\.......\......\.....\continued.png
.............\.......\......\.....\dir.gif
.............\.......\......\.....\dir.png
.............\.......\......\.....\diskimg.gif
.............\.......\......\.....\diskimg.png
.............\.......\......\.....\down.gif
.............\.......\......\.....\down.png
.............\.......\......\.....\dvi.gif
.............\.......\......\.....\dvi.png
.............\.......\......\.....\f.gif
.............\.......\......\.....\f.png
.............\.......\......\.....\folder.gif
.............\.......\......\.....\folder.open.gif
.............\.......\......\.....\folder.open.png
.............\.......\......\.....\folder.png
.............\.......\......\.....\folder.sec.gif
.............\.......\......\.....\folder.sec.png
.............\.......\......\.....\forward.gif
.............\.......\......\.....\forward.png