convert perl map with multiple key to c++
- by YY
I want to convert a code from perl to c++, and my problem is multi key map in perl!
example:
perl:
$address{name}{familyName} = $someAddress;
and keys are not unique.
I want similar data structure in c++ using map or ...!?
also I want to search and obtain values with first key for example I want such %keys{name} in c++ .