[c++] Adding to a vector of pair

revenue.push_back(pair<string,double> ("String",map[i].second));

this will work.