#include <map>
std::map<char, char> my_map = {
{ 'A', '1' },
{ 'B', '2' },
{ 'C', '3' }
};
// The equivalent to python dictionaries are maps in c++
map<int, char> mymap; // Enter required types and name
mymap[1] = 'a';
mymap[4] = 'b';
cout << "my map is -" << mymap[1] << " " < <mymap[4] << endl;