Quantcast
Channel: Answers by "Narv"
Viewing all articles
Browse latest Browse all 60

Answer by Narv

$
0
0
I think you are not storing the data as you are intending. you have the line: int m_GVmoves = IDcount - mGHmoves - 1; int m_Gtotal = IDcount - 1; so you are actually making them local variables because you are declaring them with "int". you aren't saving them in the instance as you are intending so your loops aren't going all the way though, so it would seem. So when it tries to access something it hasn't been setup at that index in the array because it's still using 0 for your moves and total but an actual number for best as a returned value.

Viewing all articles
Browse latest Browse all 60

Trending Articles