Chinaunix首页 | 论坛 | 博客
  • 博客访问: 188408
  • 博文数量: 49
  • 博客积分: 635
  • 博客等级: 中士
  • 技术积分: 410
  • 用 户 组: 普通用户
  • 注册时间: 2011-08-25 12:58
文章分类

全部博文(49)

文章存档

2012年(9)

2011年(40)

分类: LINUX

2012-04-06 00:06:15


摘抄如下:

  • A preprocessing directive of the form

    #include <h-char-sequence> new-line

    searches a sequence of implementation-defined places for a header identified uniquely by the specified sequence between the < and > delimiters, and causes the replacement of thatdirective by the entire contents of the header. How the places are specified or the headeridentified is implementation-defined.

  • A preprocessing directive of the form

    # include "q-char-sequence" new-line

    causes the replacement of that directive by the entire contents of the source file identified by the specified sequence between the " delimiters. The named source file is searched for in an implementation-defined manner. If this search is not supported, or if the search fails, the directive is reprocessed as if it read

    # include new-line

    with the identical contained sequence (including > characters, if any) from the original directive.

  • A preprocessing directive of the form

    # include pp-tokens new-line

    (that does not match one of the two previous forms) is permitted. The preprocessing tokens after include in the directive are processed just as in normal text. (Each identifier currentlydefined as a macro name is replaced by its replacement list of preprocessing tokens.) Thedirective resulting after all replacements shall match one of the two previous forms. The methodby which a sequence of preprocessing tokens between a < and a > preprocessing token pair or a pair of " characters is combined into a single header name preprocessing token is implementation-defined.

Definitions:
  • h-char: any member of the source character set except the new-line character and >

  • q-char: any member of the source character set except the new-line character and "

阅读(3110) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~