Preprocessor is a special compiler that is run each time you add a source file to the Structure Library. It executes before compilation of the source file and prepares a source file for compilation.
Hex Editor Neo provides a fully C99-compliant preprocessor which supports the following directives:
-
#include
- Performs a physical inclusion of the contents of another source file into the current file.
-
#pragma once
- Prevents a file from being included multiple times.
-
#define, #undef
- Allows defining preprocessing constants and macros.
-
#if, #ifdef, #ifndef, #else, #elif, #endif, defined() operator.
- Provides support for conditional compilation.
-
#error
- Unconditionally stops source file compilation.