try turning all the -> into periods .
I can give you the explaination for this later on if you desire.
ok i'll give it to you now:
to keep it simple: whenever you are using a subscripted pointer, the pointer is automatically dereferrenced, therefore, you do not need to use the arrow operator.
(except when you are using an array of pointers)