输出vector中元素,以及插入删除元素
#include<iostream>
#include<vector>
using namespace std;
template<class T>
void printvector(T s,T e)//输出vector元素
{
for(; s!=e; ++s)
cout<<*s<<" ";
cout<<endl;
}
int main(){
//插入和删除函数,两种形式,一种对一个元素,另一种对一段区间
int a[