how to add the value as a tuple and double for a map in c++ code example Example: c++ map insert mymap.insert ( std::pair<char,int>('a',100) );