Log in

View Full Version : simple build project error!


Tds123
29-01-2010, 11:50
ok so guys here is the pic of my erorr message!

http://tinypic.com/r/2vba9lw/6

and here is my actual code!

http://paste.pocoo.org/show/171657/

can someone help fix the problem on line 27 with the rightjoy

i do not understand the issue please help! as soon as possiblee

byteit101
29-01-2010, 16:51
you forgot a lot of commas
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);
}