|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
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 | 11-01-2008 02:17 |
| Help! making an inventor file into an autodesk file | kjhobin | Inventor | 5 | 19-03-2006 23:04 |
| Legal to add .c file? | Doogie | Programming | 8 | 13-10-2005 17:03 |
| How do we convert a modified user routines file into a valid .HEX file | HuskieRobotics | Programming | 13 | 28-02-2004 12:12 |
| Project Template File | Jon Abad | General Forum | 1 | 12-01-2002 18:04 |