Original Post
I remember there was a trick by which you could have a one-dimensional array and use it as though it were a two-dimensional array when accessing its elements by using some simple calculation for the index. I just can't remember what the calculation was. It's been a while since the last time I programmed and apparently this is one of the things I have forgotten. It was supposed to be a bit faster to use one-dimensional arrays in place of two-dimensional ones. I'd appreciate it if anyone could refresh my memory. Juha