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

Robot C crashes during compilation
http://www.robotc.net/forums/viewtopic.php?f=11&t=1827
Page 1 of 1

Author:  victores_ [ Mon Aug 31, 2009 8:31 pm ]
Post subject:  Robot C crashes during compilation

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

thanks !

Author:  mightor [ Tue Sep 01, 2009 2:05 am ]
Post subject:  Re: Robot C crashes during compilation

It is best to put include files in the directory you have your main file in and then to just use
#include "math.h"

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/