(ISO C, §6.10.2) The Carbide C preprocessor lets you nest up to 256 levels of #include directives.
You can use full path names in #include directives:
System | Directive |
---|---|
Windows | #include "c:\HD\Tools\my headers\macros.h" |
UNIX | #include "/HD/Tools/my headers/macros.h" |
The Carbide IDE lets you specify where the compiler looks for #include files through the Access Paths and Source Tree settings panels.
See also Prefix Files.
TIP If you are running the Carbide C compiler from the command line, you can specify where to find #include files with a command-line setting. For more information, see “Command-Line Tools”.