I want to print out the contents of a vector in C++, here is what I have:
#include #include #include #include
#include using namespace std; int main() { vector > v; int n; cin>>n; int i; for( i=0;i>str; cin>>end; v.push_back(make_pair(str,end)); } for (int j=0;j