Expected unqualified-id before 'else' help

Did you forget one of these { ?
(Though, given the contents of the loop, it looks like the for is redundant)

Please remember to use code tags when posting code.

(Hint: the error message contains useful hints. Always post it/them)