The search for include files is governed by two environment variables: GENPATH: #include "File" Path and LIBRARYPATH: `include <File>' Path. Include files that are included using double quotes as in:
#include "test.h"
are searched first in the current directory, then in the directory specified by the -I: Include File Path option, then in the directories given in the GENPATH: #include "File" Path environment variable, and finally in those listed in the LIBPATH or LIBRARYPATH: `include <File>' Path environment variable. The current directory is set using the IDE, the Program Manager, or the DEFAULTDIR: Default Current Directory environment variable.
Include files that are included using angular brackets as in
#include <stdio.h>
are searched for first in the current directory, then in the directory specified by the -I option, and then in the directories given in LIBPATH or LIBRARYPATH. The current directory is set using the IDE, the Program Manager, or the DEFAULTDIR environment variable.