Can the Arduino handle lots of variables?

Also
I get an error from

buttons.val[0] = digitalRead(buttons.pin[0]);

error: request for member 'val' in 'buttons', which is of non-class type 'aButton [11]

Thank you for answering everything so far, I appreciate it.