|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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/
|
|
#2
|
||||
|
||||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |