|
Re: getting g++ and gcc errors
Your exact code from last year should be the fine, but the button mappings may or may not have changed, check the USB tab on the DriverStation for your controller to make sure you are getting the right button (they start at 1 in C++ and Java WPILib).
The bool in the middle is probably the source of your syntax error.
|