home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_12 / 776.jpg < prev   
Joint Photographic Experts Group Image  |  2013-12-13  |  494KB  |  2550x3300
Labels: book | crt screen | reckoner | screen | sky
OCR: 776 Chapter Discovering C++ Use the function erase to erase the middle four elements in the deque and display the contents of the deque again 15 Look up the STL class map in the documentation that comes with your com- piler Find out how to insert an element in map object how to search for an element ir map object, and how to remove an element from map object Write program that instantiates map object and inserts elements Display the contents of the map after each element 19 inserted. After your map has elements in it have the program perform two searches for elements the should search for an element that is in the map and then for an ele- ment that is not in the map Finally delete all the elements in the map before the program ends first