Preprocessor - cppreference.com
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
Il preprocessore viene eseguito prima che la compilazione inizi. Il risultato del pre-processing è un singolo file che viene quindi passato al compilatore effettivo.
Original:
The preprocessor runs before the compilation begins. The result of preprocessing is single file which is then passed to the actual compiler.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Direttive
Le direttive al preprocessore controllano il comportamento del preprocessore. Ogni direttiva occupa una riga e ha il seguente formato:
Original:
The preprocessing directives control the behavior of the preprocessor. Each directive occupies one line and has the following format:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
#carattereOriginal:
#characterThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.istruzione pre-elaborazione (uno dei
define,undef,include,if,ifdef,ifndef,else,elif,endif,line,error,warning,pragma)Original:
preprocessing instruction (one of
define,undef,include,if,ifdef,ifndef,else,elif,endif,line,error,warning,pragma)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.argomenti (dipende dalle istruzioni)
Original:
arguments (depends on the instruction)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.linea di interruzione
Original:
line break
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
La direttiva null (# seguita da un'interruzione di riga) è ammesso e non ha alcun effetto.
Original:
The null directive (# followed by a line break) is allowed and has no effect.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Capabilities
Il preprocessore ha le capacità di traduzione dei file di origine:
Original:
The preprocessor has the source file translation capabilities:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
' replace' macro di testo anche se può concatenare o citando identificatori (controllata dalle direttive
#definee#undef, e gli operatori e###)Original:
replace text macros while possibly concatenating or quoting identifiers (controlled by directives
#defineand#undef, and operators#and##)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.'include' altri file (controllata da
#includedirettiva)Original:
include other files (controlled by directive
#include)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.provocare un 'warning' (controllata dalla direttiva
#warning)Original:
cause a warning (controlled by directive
#warning)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.causare un 'error' (controllata dalla direttiva
#error)Original:
cause an error (controlled by directive
#error)The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
I seguenti aspetti del preprocessore può essere controllato:
Original:
The following aspects of the preprocessor can be controlled:
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.