create a dictionary cpp April 13, 2023 by wordlinkanswers create a dictionary cpp Comment 4 // The equivalent to python dictionaries are maps in c++<br /> map<int, char> mymap; // Enter required types and name<br /> mymap[1] = ‘a’;<br /> mymap[4] = ‘b’;<br /> cout << “my map is -” << mymap[1] << ” ” < <mymap[4] << endl; Popularity 9/10 Helpfulness 6/10 Language cpp Source: stackoverflow.com Tags: c++ dictionary Share Link to this answer Share Contributed on Feb 26 2020 The Rambling Lank 0 Answers Avg Quality 2/10