Adding to a vector of pair March 27, 2023 by Tarik Use std::make_pair: revenue.push_back(std::make_pair("string",map[i].second));