#include
#include
#include
using namespace std;
int main()
{
string s("abcdefghij");
vector vector1(s.begin(), s.end());
cout << "Popping characters off the front produces: ";
while (vector1.size() > 0) {
cout << vector1.front();
vector1.erase(vector1.begin());
}
cout << endl;
return 0;
}
Popping characters off the front produces: abcdefghij