版本1和3间的区别 (跳过第2版)
于2007-07-19 01:52:57修订的的版本1
大小: 719
编辑: czk
备注:
于2008-02-23 15:35:48修订的的版本3
大小: 769
编辑: localhost
备注: converted to 1.6 markup
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
行号 7: 行号 6:


<<Include(^TCPL/A\.11\.[0-9] .*,,titlesonly)>>

A.11 Scope and Linkage

A program need not all be compiled at one time: the source text may be kept in several files containing translation units, and precompiled routines may be loaded from libraries. Communication among the functions of a program may be carried out both through calls and through manipulation of external data.

Therefore, there are two kinds of scope to consider: first, the lexical scope of an identifier which is the region of the program text within which the identifier's characteristics are understood; and second, the scope associated with objects and functions with external linkage, which determines the connections between identifiers in separately compiled translation units.

TCPL/A.11_Scope_and_Linkage (2008-02-23 15:35:48由localhost编辑)

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