iotest专题

温故而知新,轮子iotest

1关于vector迭代器:const和non const型: int main() { cout<<"By:Sayln_wu"<<endl<<endl; //编写10个元素的vector对象。用迭代器把每个元素值改为当前值+2. vector<int> ivec(3,8); cout<<"原值为:"<<endl; int i=0; for (vector<int>::i