ROBOTC.net forums http://robotc.net/forums/ 

problems with #include <math.h> http://robotc.net/forums/viewtopic.php?f=11&t=1826 
Page 1 of 1 
Author:  victores_ [ Mon Aug 31, 2009 8:41 pm ] 
Post subject:  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 ! 
Author:  mightor [ Tue Sep 01, 2009 2:33 am ] 
Post subject:  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 
Page 1 of 1  All times are UTC  5 hours [ DST ] 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ 