Comment Re:Only 10 types of people. (Score 1) 599
ouch!
They do recommend something similar in Numerical Recipes in C. If I remember correctly something like:
int var[] = {0, 5, 2};
int *pointer;
pointer = &var[0] - 1;
printf("%d\n %d\n",pointer[1],pointer[2]);
I think 3:rd line can be written equivalently as
pointer = var - 1;
So, if you insist on indices that start with 1 in C-like languages, it's not hard to achieve. The question is why?