// 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 <array>

using namespace std;

struct z
{
    array<int,2> a;
    int something;
};

int main()
{
    struct z o;
    for(int i = 0; i < 3; i++)
    {
        o.a[i] = i + 1;
        cout << i << " : " << o.a[i] << endl;
    }
    return 0;
}

