Write a program to read a sequence of strings and ints, storing each into a pair. Store the pairs in a vector.
#include
// for pair
#include
#include
#include
using namespace std;
int main(void)
{
vector
> pvec; string word; int ival; while (cin >> word >> ival) { pvec.push_back(make_pair(word, ival)); } return 0; }