View Single Post
  #2   Spotlight this post!  
Unread 29-01-2010, 16:51
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: simple build project error!

you forgot a lot of commas
Code:
public:
		RobotDemo(void):
				myRobot(1, 2), // these must be initialized in the same order
				leftjoy(1), //comma as they are declared above.
				rightjoy(2), //comma 
				armjoy(3), //comma 
				arm(3), //comma  // The arm Jaguar is on port 3
				roller(1), //comma 
				winch(2)//no comma, last item
{
		GetWatchdog().SetExpiration(0.1);
}
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib