Quote:
Originally Posted by just_wondering
sorry, but what are variables, I really know nothing 
|
variables are words that contain a value. If you have the following things:
Code:
int var1 = 5;
double var2 = 10.0;
string var3 = "hello";
char var4 = 'c';
each of those are a variable. Other variables exist and can be declared or created in the program. I haven't seen much of the code here, but I'm pretty sure Joysticks are created and named (as variables), motors, solenoids, etc are all created and named.
Basically, if you create a name for something that you can create or change values for, use in other equations or declarations, it's a variable. I would suggest looking at beginning programming tutorials for the language you decide to code in and working your way through it.