Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Unable to Add .h File to Project (http://www.chiefdelphi.com/forums/showthread.php?t=73244)

Stephen Green 30-01-2009 14:17

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/

MattD 30-01-2009 15:21

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.


All times are GMT -5. The time now is 02:57.

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