SyntaxFix
Write A Post
Hire A Developer
Questions
revenue.push_back(pair<string,double> ("String",map[i].second));
this will work.