Department of Computing

Local Navigation

Practical Week 10
Objectives: To understand more about maps.
  1. Submit Program

    Using STL map and multimap. Create a multimap for names (string) and associated marks (int). Now write a function to display the mulitmap in ascending order of names. Now write a function to display the multimap in descending order of names (investigate using a reverse iterator).
  2. Continue with above program ensuring that you understand how it can retrieve names which exist in the multimap and displays the associated marks and how it indicates that a name does not exist in the multimap.
[an error occurred while processing this directive]

Computing | Division ICS | Macquarie University

Last Modified:
Copyright Macquarie University
CRICOS provider no. 00002J