// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
{
   vector<int> v;
   for(int i=0;i<10;i++) v.push_back(i);
   for(int i=0;i<10;i++) cout << v[i] << endl;
   vector<string> vs;
   for(int i=0;i<10;i++) vs.push_back("****");
   for(int i=0;i<10;i++) cout << vs[i] << endl;
   vector<char *> vca;
   for(int i=0;i<10;i++) vca.push_back("****");
   for(int i=0;i<10;i++) cout << vca[i] << endl;
   return 0;
}
