I am writing a program that has many header files and their corresponding implementation files. I collected all the header files in a folder and did same for the implementation files into another folder. I'm using the Dev C++ IDE; I could add the files one by one to the project. Instead of doing this however, I tried adding the two folders to the project; but, the project did not compile!! The compiler could not find the files resident in each of the folders!
Does anyone know how I can add the folders to the project so that the internal files are visible to the compiler; or do I have to go the longer route of adding the internal files individually??
Long route it is I'm afraid. The linker is just as dumb as any other component of the computer and it will only do exactly what you tell it to. You can add the folder to the default search path on the project to save some typing but you have to name the files you want included individually.