摘要: #include <iostream>#include <vector>using namespace std;int main(){ vector<int> vec(10); for (size_t i = 0; i < 10; ++i) { cin >> vec[i]; } vector<int>::iterator iter = vec.begin(); cout << "The beginning number is:" <<endl; for (; iter != vec.e 阅读全文
posted @ 2011-06-09 09:25 hailong 阅读(205) 评论(0) 推荐(0) 编辑