版本2和3间的区别
于2007-07-19 07:53:54修订的的版本2
大小: 1065
编辑: czk
备注:
于2008-02-23 15:36:58修订的的版本3
大小: 1065
编辑: localhost
备注: converted to 1.6 markup
未发现区别!

A.12.4 File Inclusion

A control line of the form

  • # include <filename>

causes the replacement of that line by the entire contents of the file filename. The characters in the name filename must not include > or newline, and the effect is undefined if it contains any of ", ', \, or /*. The named file is searched for in a sequence of implementation-defined places.

Similarly, a control line of the form

  • # include "filename"

searches first in association with the original source file (a deliberately implementation-dependent phrase), and if that search fails, then as in the first form. The effect of using ', \, or

Finally, a directive of the form

  • # include token-sequence

not matching one of the previous forms is interpreted by expanding the token sequence as for normal text; one of the two forms with <...> or "..." must result, and is then treated as previously described.

#include files may be nested.

TCPL/A.12.04_File_Inclusion (2008-02-23 15:36:58由localhost编辑)

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