vector1.cpp 264 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 #include <iostream> #include <vector> // for vector template definition using namespace std; int main () { int MaxCount = 100; vector < int >iVector (MaxCount); for (int Count = 0; Count < 2 * MaxCount; Count++) { cout << iVector[Count]; } }