Lecture overview -- Keyboard shortcut: 'u'  Previous page: A priority queue example -- Keyboard shortcut: 'p'  Next page: Common properties of containers -- Keyboard shortcut: 'n'  Lecture notes - all slides and notes together  slide -- Keyboard shortcut: 't'  Help page about these notes  Alphabetic index  Course home  Lecture 5 - Page 26 : 39
Notes about C++
Templates and The Standard Library
A map example

We show a simple example of the use of the map standard container

An example taken from The C++ Programming Language page 483

y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/containers/maps/map-1.cppIllustration of the map standard container.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/containers/maps/inputSample program input - provided via input redirection.


y:/Kurt/Files/Advanced-programming-cpp/cpp/kn/containers/maps/outputProgram output.