View unanswered posts | View active topics It is currently Mon Aug 03, 2020 11:31 pm

Reply to topic  [ 2 posts ] 
problems with #include <math.h> 
Author Message

Joined: Mon Aug 31, 2009 8:23 pm
Posts: 2
Post 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
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post 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.


| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]

Tue Sep 01, 2009 2:33 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

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

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.