which is giving you a problem. What you can say with a degree of certainty is the index you access you students array with is being incremented, so it looks like the contents of this array may well be six entries of the same value. What does you Storage class look like?
Joined: Oct 04, 2004
I wrote one of my classes four months ago and used static for my variable.