']' expected

A closing bracket is needed here to finish an array declaration or an array reference. Example:

int a[50

This should probably become:

int a[50]

See Also
Errors