You can use comments in testing to make certain lines of code inactive; however, #if/#endif preprocessor directives work better for this because you can surround code that contains comments but you cannot nest comments.
Комментарии можно использовать при тестировании, чтобы сделать неактивными определенные строки кода, однако для этой цели лучше подходят директивы препроцессора #if и #endif, поскольку ими можно окружить код, содержащий комментарии, однако вложение комментариев не допускается.
Preprocessor directives tell the compiler to perform a special task.
Preprocessor directives (those that begin by ) are out of this rule since they are not true instructions.
Директивы препроцессора (те, которые начинаются ) выходят за рамки этого общего правила, поскольку они не являются инструкциями.
Preprocessor directives must be specified in their own line and, because they are not statements, do not have to end with a semicolon (;).
Директивы препроцессора должны быть указаны в их собственной строке и, поскольку они не являются инструкциями, не должны заканчиваться точкой с запятой (;).
Anyway, let's see what we can do about preprocessor directives, today.
The C++ preprocessor obeys commands called preprocessor directives, which indicate that certain manipulations are to be performed on the program before compilation.
Эта программа в С подчиняется специальным командам, называемым директивами препроцессора, которые указывают, что в программе перед ее компиляцией нужно выполнить определенные преобразования.
Source lines that should be handled by the preprocessor, such as #define and #include are referred to as preprocessor directives.
Строки в исходном коде, которые должны быть обработаны препроцессором в виде #define и #include, называются препроцессорными директивами.
The code parts to be compiled under conditions can be selected in many ways, by using the following preprocessor directives: #if, #ifdef, #ifndef, #elif, #else and #endif.
Для того чтобы иметь возможность выполнять условную компиляцию, используется группа директив #if, #ifdef, #ifndef, #elif, #else и #endif.
Unlike Java, C# implements conditional compilation using preprocessor directives.
С , в отличие от Java, поддерживает условную компиляцию с использованием директив препроцессора.
The most common preprocessor directives are discussed in the early chapters; a detailed discussion of all the preprocessor features appears in Appendix F, Preprocessor.
Наиболее общие директивы препро-цессора обсуждаются в начальных главах; детальное обсуждение всех особенностей препроцессорной обработки дано в приложениях.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.
No results found for this meaning.
Synonyms and analogies of "preprocessor directives" in English