View unanswered posts | View active topics It is currently Fri Aug 29, 2014 6:30 am






Reply to topic  [ 2 posts ] 
Robot C crashes during compilation 
Author Message
Rookie

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


Mon Aug 31, 2009 8:31 pm
Profile
Moderator
Moderator
User avatar

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

_________________
| 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:05 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 2 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

Search for:
Jump to:  
cron



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