Proyect #7 Arduino Starter Kit

hello, i'm new on this and I have a problem with the code of the proyect. There's a conflict with the declaration " int buttons[0] = 2; "

When you encounter an error you'll see a button on the right side of the orange bar "Copy error messages". Click that button. Paste the error in a message here USING CODE TAGS (</> button on the toolbar).

Read the book again, mine does not contain such crappy code. What you cite is not a declaration nor a statement, it's an illegal mix of both.

Also use code tags </> to present code, in detail if it contains brackets. Are you sure that the code in your post equals your code in the IDE?