Take off the "=0" from those initialisers.

The rest of the errors don't apply to that code, methinks you missed an #include or using somewhere.