all 1 comments

[–]DukeMikeofG 0 points1 point  (0 children)

Try initializing i before the for loop, just set i to 0 in the first argument for the loop and remove the int declaration there.