//////////////////////////////////////////////
// Vectors.cpp - Demonstrate use of vectors //
//////////////////////////////////////////////

#include <iostream>
#include <vector>

using namespace std;

int main()
{
    vector<char> alphabet;

    // Insert all the letters of the alphabet into the alphabet vector
    for (int j = 0; j < 26; j++)
        alphabet.push_back((char) ('a' + j));

    cout << "\nVector Demonstration\n\n";
    for (unsigned j = 0; j < alphabet.size(); j++)
        cout << alphabet[j] << " ";
    cout << endl << endl;

    return 0;
}
