[array] was not declared in this scope compile error

No, the arrays the error messages complain about are not declared.
C/C++ is case sensitive.

2 Likes