Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   C++ Variables and Functions (http://www.chiefdelphi.com/forums/showthread.php?t=80688)

NinjaSpawn94 20-01-2010 16:35

C++ Variables and Functions
 
Sorry, I'm new to C++, and just switched over from LabView last year. I was wondering what the variables are that are used for compressors and pneumatics. I believe joysticks are just joystick and jaguars motors are just jaguar, but correct me if i'm wrong please. Thanks!

Joe Ross 20-01-2010 16:39

Re: C++ Variables and Functions
 
You'll probably find the WPILib User's Guide helpful.

byteit101 20-01-2010 16:50

Re: C++ Variables and Functions
 
Read the link above, but as a rule of thumb, it is the CamelCaseVersionOfTheObject
Jaguar
Joystick
Compressor
Solenoid
Relay
Value (for Relay direction)
etc...

NinjaSpawn94 20-01-2010 17:05

Re: C++ Variables and Functions
 
thanks a lot for the link, i've looked for that before but couldn't find it. And also thanks for not making me read the whole manual and just using that rule of thumb :D

byteit101 20-01-2010 17:08

Re: C++ Variables and Functions
 
first link on that page http://first.wpi.edu/Images/CMS/Firs...sers_Guide.pdf
page 38-43


All times are GMT -5. The time now is 12:52.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi