The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 04-06-2008
dhanamurthy dhanamurthy is offline
Read Only
 

Join Date: Jun 2006
Posts: 105
C++ multimap -find

Hello
I need a sample program using multimap


class People
{
public:
char CHR_NM1[5];
char CHR_NM2[5];
char CHR_CD1[6];
char CHR_CD2[6];
char VL1[12];
char VL2[12];
char MODULE_NUM[4];
};

}
multimap<string, People>& peopleMap

I need to find a pair with a key BRAND010846
peopleMap.find("BRAND010846")

something like the above. I want to use find to find the value using a key.

Can any one help me in getting a sample program

REgards
Dhanamurthy
Reply With Quote
Forum Sponsor