how to compute a value a map and insert it into another map in c++ code example Example: c++ map insert mymap.insert ( std::pair<char,int>('a',100) );