View Single Post
  #5   Spotlight this post!  
Unread 05-01-2015, 13:19
ejb1123 ejb1123 is offline
Registered User
AKA: E.J. Bevenour
FRC #5404 (Gearaffes)
Team Role: Leadership
 
Join Date: Nov 2014
Rookie Year: 2008
Location: U.S.
Posts: 7
ejb1123 is an unknown quantity at this point
It need a type to make the varuble. I have c++ experience with QT but this is my first year in FRC and I haven't worked with the WPI 2015 C++ library yet. I am not sure if they have to be defined as a pointer. Below is how I would define it.
Code:
Talon *motor1 = new Talon(0);

Last edited by ejb1123 : 05-01-2015 at 16:29.