Tuesday, November 29, 2011

associative container example

Using associative container:
The iterator loop in the previous example could be used for any  container. You only have to adjust the iterator type. Now you can print elements of associative containers. The following are some examples of the use of associative containers.
  1. Examples of Using Sets and Multisets
  2. Examples of Using Maps and Multimaps
  3. Maps as Associative Arrays
See Also:

No comments:

Post a Comment