vector<char> vec ( 100, 'a' );
1234567
int AnArray[ 5 ] = { 1, 3, 5, 7, 9 }; vector<int> v; v.insert( v.end(), AnArray, AnArray + 5 ); // v now contains 5 elements: 1, 3, 5, 7, and 9.