| Article: |
What I Hate About Your Programming Language | |
| Subject: | C, C++, Java, maybe others - zeroth element arrays | |
| Date: | 2003-05-24 06:26:13 | |
| From: | anonymous2 | |
|
Response to: C, C++, Java, maybe others - zeroth element arrays
|
||
| With one dimensional array there is simple fix. When you have elem_t a[N], indexed from 0 to N-1, then elem_t *b = (a - 1) is indexed from 1 to N. | ||
Women in Technology
Hear us Roar
