Well, two things...
1) Are you sure you initialized the array with NULL?
2) Why do you skip over the first element in the arrays?
Bonus question: Why not use two-dimensional arrays?


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com