|
Page 1 of 1
|
[ 2 posts ] |
|
problems with #include <math.h>
| Author |
Message |
|
victores_
Rookie
Joined: Mon Aug 31, 2009 8:23 pm Posts: 2
|
 problems with #include <math.h>
i am a mecatronical student.... me and my group are trying to deal with the "direct cinematic" with the VEX robot.... we have the file "math.h" but we dont know how to include it
we have in our code: #include <math.h>
we put the file "math.h" in the " INCLUDES" carpet located in C:\Program Files\Robotics Academy\ROBOTC for IFI\includes
but it seems that it cant find it ...
what can we do....???? we have spent so much time doing this... please any help would be gratefull
i need this so i can work with the SIN function.... i need to work with Degrees °
thanks !
|
| Mon Aug 31, 2009 8:41 pm |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2906 Location: Rotterdam, The Netherlands
|
 Re: problems with #include <math.h>
Hi there,
You pretty much posted the same question no less than 3 times in different sections of these forums. Please don't. I have moved them all into the appropriate sub forum and removed one of the duplicates.
In answer to your question, you don't need the math.h include file, just use the sinDegrees(degrees) function instead.
Regards, Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Tue Sep 01, 2009 2:33 am |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 3 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|