Show/Hide Toolbars

XSharp

Purpose

Tells the preprocessor to treat the contents of a specified file as if they appear in the source program at the point where the directive appears.

#include "path-spec"

 

You can preprocessor definitions into include files and then use #include directives to add them to any source file.

The path-spec is a file name that may optionally be preceded by a directory specification. The file name must name an existing file.

The preprocessor searches for include files in this order:

1.In the same directory as the file that contains the #include statement.

2.Along the path that's specified by each /I compiler option.

3.In the Include folder inside the XSharp installation folder

4.Along the paths that are specified by the INCLUDE environment variable. (Not supported yet)