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

using namespace std;

#include "Const2.h"

const char C::weekday[7][4] = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" };

void C::print(int ix)
{
   cout << weekday[ix] << endl;
}

int main()
{
   C *o = new C();
   o->print(4);
   return 0;
}
