#include < vector > extern int getSize(); void mumble() { int size = getSize(); vector< int > vec( size ); vector< int >::iterator iter = vec.begin(); for ( int ix = 0; iter != vec.end(); ++iter, ++ix ) *iter = ix; 56 第二章 C++浏览 // ... }c++爱好着学习用书!