0
Кто-нибудь знают, как вывести переменную структуру, что она внутри неупорядоченного map.how мог я получить dictionary-> слово, напримервыводит переменную структуру, которая находится внутри неупорядоченной карты
typedef struct dictionary{
std::string word;
unsigned char hash[20];
std::string hex;
} a_dictionary;
typedef std::unordered_map<std::string, dictionary*> Mymap;
std::unordered_map<std::string, dictionary* >::const_iterator got = c1.find(line);
if(out.is_open())
{
if (got == c1.end())
{
out << "????";
}
else
{
out << got->first << " , ";
}
}
}