23.05.2015, 14:01
The array might be declared as global (outside of any function) but should also be located before the parts of code is used. So place it under the includes and definitions.
If you still cannot fix it, then post what you've done so far.
If you still cannot fix it, then post what you've done so far.