View Single Post
  #4   Spotlight this post!  
Unread 15-02-2006, 11:55
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: Motor drive function?

Quote:
Originally Posted by Mike Betts
Keith,

I think that you are mixing C++ with C. in C++, "int&" is a pass by reference. In C there is no pass by reference only pass by value and a pointer is the only way to do it.

Mike
Oops, I stand corrected. I've been using C++ for so long (since 1988) I forgot! I removed my post.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.

Last edited by Keith Watson : 15-02-2006 at 12:20.