How To Use Map Of Maps

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ayazahmad
    New Member
    • Apr 2008
    • 1

    How To Use Map Of Maps

    Can You Please Send Me A Sets Of Programms Which Includes How To Form A Map Of Map And How To Insert In It
    And How To Print Its Members..
  • Meetee
    Recognized Expert Contributor
    • Dec 2006
    • 928

    #2
    Originally posted by ayazahmad
    Can You Please Send Me A Sets Of Programms Which Includes How To Form A Map Of Map And How To Insert In It
    And How To Print Its Members..
    According to posting guidelines of this site, we are not allowed to give ready program to anyone. But if you can explain what you have done so far then we can help you to solve your query.

    Regards

    Comment

    • Man4ish
      New Member
      • Mar 2008
      • 151

      #3
      I am giving very simple example for creating and using map of map
      #include <map>
      #include <iostream>
      using namespace std;
      class mapset
      {
      map<int,map<int ,int> > m1;
      <spoonfeed code removed by weaknessforcats >

      Accordingly you can modify and use it.

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        Since some of these postings are form students doing homework, spoonfeeding is not allowed to avoid our doing the students' homework instead of the student.

        Comment

        Working...