Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Role of the Preprocessor | Introduction to Preprocessing
C Preprocessing
course content

Contenu du cours

C Preprocessing

C Preprocessing

1. Introduction to Preprocessing
2. Macros
3. Conditional compilation

book
Role of the Preprocessor

To take advantage of the capabilities of preprocessing, the C language uses special instructions - directives.

Each directive begins with a symbolic hash #. You have already encountered preprocessor directives when connecting the built-in standard input/output library (stdio.h).

Preprocessor directives allow you to include files, define constants, and conditionally compile parts of the code. They are essential for organizing and optimizing the compilation process.

question mark

What symbol is used for preprocessor directive?

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
Nous sommes désolés de vous informer que quelque chose s'est mal passé. Qu'est-il arrivé ?
some-alt