thebigear:
OK, I thought an array was zero indexed, so I was indeed reading it 4 times.
It is zero indexed. When you declare an array like this:
int myArray[4];
You have access to the values:
myArray[0]
myArray[1];
myArray[2];
myArray[3];
thebigear:
OK, I thought an array was zero indexed, so I was indeed reading it 4 times.
It is zero indexed. When you declare an array like this:
int myArray[4];
You have access to the values:
myArray[0]
myArray[1];
myArray[2];
myArray[3];