View Single Post
  #3   Spotlight this post!  
Unread 08-12-2015, 20:54
Bluejackets's Avatar
Bluejackets Bluejackets is offline
Bluejacket Robotics
FRC #5464 (Bluejacket Robotics)
 
Join Date: Dec 2014
Rookie Year: 2015
Location: Cambridge Isanti HS
Posts: 110
Bluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to beholdBluejackets is a splendid one to behold
Re: the c++ code is having errors

Quote:
Originally Posted by E Dawg View Post
What errors are you getting exactly?
forward declaration of 'class Robot' for the "class Robot: public Robot"

'Robot::Robot" has the same name as the class in which it is declared for "Class Robot: public SampleRobot"

2 errors for while (isOperatorControl () && IsEnabled())
-'IsEnabled' was not declared in this scope
-'IsOperatorControl' was not declared in this scope