|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
||||
|
||||
|
Re: Storing functions to variables
If I read this correctly, you're trying to make a function that returns a distance.
Code:
double dist(double tilt_angR)
{
return 80.0/tan(tilt_angR);
}
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Storing the balls | Max Brin | Technical Discussion | 4 | 18-02-2006 20:34 |
| Math.h and Functions and Variables | amateurrobotguy | Programming | 1 | 26-02-2005 03:19 |
| PDF of all functions/variables! | mikesown | Programming | 1 | 01-02-2005 18:56 |
| Storing Tetras on Robot | MisterX | General Forum | 22 | 15-01-2005 19:26 |
| SCORing vs. STORing | Chris Fultz | General Forum | 3 | 15-01-2004 13:36 |