版本6和7间的区别
于2007-08-01 18:21:06修订的的版本6
大小: 1022
编辑: czk
备注:
于2008-02-23 15:35:50修订的的版本7
大小: 1022
编辑: localhost
备注: converted to 1.6 markup
删除的内容标记成这样。 加入的内容标记成这样。
行号 2: 行号 2:
[[Navigation(slides)]] <<Navigation(slides)>>
行号 9: 行号 9:
[[Include(^TCPL/4\.11\..*,,titlesonly)]] <<Include(^TCPL/4\.11\..*,,titlesonly)>>

<<Navigation: 执行失败 ['AllContext' object has no attribute 'values'] (see also the log)>>

4.11 The C Preprocessor C预处理器

C provides certain language facilities by means of a preprocessor, which is conceptionally a separate first step in compilation. The two most frequently used features are #include, to include the contents of a file during compilation, and #define, to replace a token by an arbitrary sequence of characters. Other features described in this section include conditional compilation and macros with arguments.

C语言通过预处理器提供了一些语言功能。从概念上讲,预处理器是编译过程中单独执行的第一个步骤。两个最常用的预处理器指令是:#include指令(用于在编译期间把指定文件的内容包含进当前文件中)和#define指令(用任意字符序列替代一个标记)。本节还将介绍预处理器的其他一些特性,如条件编译与带参数的宏。

TCPL/4.11_The_C_Preprocessor (2008-02-23 15:35:50由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.