I have a vector of pair like such:
vector
pair
vector> revenue;
I want to add a string and a doub
You can use std::make_pair
std::make_pair
revenue.push_back(std::make_pair("string",map[i].second));