View unanswered posts | View active topics It is currently Sat Nov 29, 2014 1:10 am






Reply to topic  [ 3 posts ] 
Error "No filename for '#include' directive" JoystickDriver 
Author Message
Rookie
User avatar

Joined: Wed Jan 09, 2013 11:48 pm
Posts: 42
Location: Saint Paul, MN
Post Error "No filename for '#include' directive" JoystickDriver
In my teleop I included #include JoystickDriver.c in my code but it could not find the program, so I looked for it in my files and I found it. Why can't the program find the JoystickDriver? I did not move the file from the original spot or edit the file in any way, please help.

_________________
Head Programmer FTC Team 6699, Tempest

Code:
<Life>
   Fun
</Life>


Wed Jan 09, 2013 11:53 pm
Profile WWW
Novice

Joined: Sun Oct 21, 2012 10:01 pm
Posts: 76
Post Re: Error "No filename for '#include' directive" JoystickDri
You have to surround the name of the driver with quotes in order for the compiler to recognize it as a file name.
Code:
#include "JoystickDriver.c"


Thu Jan 10, 2013 3:07 am
Profile
Rookie
User avatar

Joined: Wed Jan 09, 2013 11:48 pm
Posts: 42
Location: Saint Paul, MN
Post Re: Error "No filename for '#include' directive" JoystickDri
Thank you, I'm not getting the error anymore.

_________________
Head Programmer FTC Team 6699, Tempest

Code:
<Life>
   Fun
</Life>


Thu Jan 10, 2013 9:03 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.