Lecture 6 - Slide 12 : 40 |
We show a simple example of the use of the map standard container
An example taken from The C++ Prog. Lang. (3. edition) page 483
![]() | Alternative version - using range-for for traveral of the map. |
![]() | Sample program input. |
![]() | Program output - as produced on the input from above. |