'itr' is a variable. Normally people name their iterator variable 'itr' because the variable name
represents iterator or const_iterator. You can name it anything you want, just easy to identify it as 'itr'.
Increment is "++" (without quotations). That (++) is called an increment operator. It iterates through the elements inside of an array for example.
So, if I create an array:
Code:
uint32 myArray[] = { 30000, 40000, 50000 };
And then use it in a for loop:
Code:
for (int i = 0; i < 4; i++)
TC_LOG_ERROR(LOG_FILTER_GENERAL, "%d", myArray[i]);
My output would be the elements inside of the array, like so:
30000
40000
50000
Without the increment operator (++) it will cause an overflow like you're having right now. You should also be aware of the Decrement operator (--) in other words "minus minus". Works about the same as the increment operator, but it reduces. You can also use the increment and decrement operators to run in reverse, like so:
Code:
for (int i = 0; i < 4; ++i)
TC_LOG_ERROR(LOG_FILTER_GENERAL, "%d", myArray[i]);
Output should be:
50000
40000
30000
Hope this helps! I wrote everything from memory. :/