Practical Week 10
Objectives: To understand more about maps.
-
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).
- 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]