View Single Post
  #3   Spotlight this post!  
Unread 02-02-2013, 21:41
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: C++ Tank Drive Help

Typically a compiler error message is accompanied by the line on which the error was detected. In C/C++, that is sometimes the line after the one with the actual problem. What line is identified as causing each of the errors you see?

You're defining your RobotDrive object as "drivetrain" but you're trying to call the Tank method of something called "drive". I don't know that it's the cause of your compile errors, but it looks suspicious to me.
Reply With Quote