Directive (programming) - The C Preprocessor

The C Preprocessor

In C and C++, the language supports a simple macro preprocessor. Source lines that should be handled by the preprocessor, such as #define and #include are referred to as preprocessor directives.

Another C construct, the #pragma directive, is used to instruct the compiler to use pragmatic or implementation-dependent features. Two notable users of this directive are OpenMP and OpenACC.

Syntactic constructs similar to C's preprocessor directives, such as C#'s #if, are also typically called "directives", although in these cases there may not be any real preprocessing phase involved.

Read more about this topic:  Directive (programming)

Famous quotes containing the words the c:

    ‘Tis said that courage is common, but the immense esteem in which it is held proves it to be rare. Animal resistance, the instinct of the male animal when cornered, is no doubt common; but the pure article, courage with eyes, courage with conduct, self-possession at the cannon’s mouth, cheerfulness in lonely adherence to the right, is the endowment of elevated characters.
    Ralph Waldo Emerson (1803–1882)