Go to Post Thankfully, my student drivers are a lot smarter than me and covered for me on several occasions. - Paul Copioli [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-30-2009, 02:17 PM
Stephen Green Stephen Green is offline
Registered User
FRC #0069
 
Join Date: Jan 2009
Location: Boston
Posts: 1
Stephen Green is an unknown quantity at this point
Unable to Add .h File to Project

We have created a new class in a .cpp file and have placed the declarations in a .h file. We can import the .cpp file to the project PPC603gnu subdirectory but cannot import, copy/paste or drag-and-drop the .h file into the include subdirectory. Are we attempting to place the file in the appropriate locations and how do we add .h files to the project/
Reply With Quote
  #2   Spotlight this post!  
Unread 01-30-2009, 03:21 PM
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
Re: Unable to Add .h File to Project

If you want to add a new include path, right-click on your project and select Properties. Select Build Properties and then Build Paths. Add a path to a directory holding all of your .h files.

The easier way would be to just add the .h files in the same way the .cpp files were imported.
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use the data obtain in one C file to another C file? tommy_chai Programming 8 01-11-2008 02:17 AM
Help! making an inventor file into an autodesk file kjhobin Inventor 5 03-19-2006 11:04 PM
Legal to add .c file? Doogie Programming 8 10-13-2005 05:03 PM
How do we convert a modified user routines file into a valid .HEX file HuskieRobotics Programming 13 02-28-2004 12:12 PM
Project Template File Jon Abad General Forum 1 01-12-2002 06:04 PM


All times are GMT -5. The time now is 09:14 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi