📅  最后修改于: 2022-03-11 14:44:48.980000             🧑  作者: Mango
#include
#include
using namespace std;
int main()
{
vector v1;
v1.push_back("vectors");
v1.push_back("are useful");
for(vector::iterator itr=v1.begin();itr!=v1.end();++itr)
cout<<*itr;
return 0;
}