Thread: Pointers Issues
View Single Post
  #7   Spotlight this post!  
Unread 20-01-2012, 22:33
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Pointers Issues

I seem to remember something about needing to initialize things in the same order they were defined. This is just a guess, but have you tried moving the
Code:
myRobot = new RobotDrive(leftmotor, rightmotor);
line to the very beginning of Drive:rive()?
Reply With Quote