View Full Version : Unable to Add .h File to Project
Stephen Green
30-01-2009, 14:17
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/
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.