[Solved] c++ find a key match in a bi-dimensional map (map of map)

[ad_1]

Find for std::map only takes a key value. So you would call it like this:

if (purchase_list.find("SearchName") != purchase_list.end())
     std::cout << "SearchName found!!" << std::endl;

0

[ad_2]

solved c++ find a key match in a bi-dimensional map (map of map)