home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Microsoftware Monthly 19…2 Programming Power Tools
/
MASO9512.ISO
/
cpptutor
/
cpptutor.arj
/
CH03
/
A03096.TXT
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1993-08-11
|
286 b
|
6 lines
You can define an identifier in one file and then use it in
another file by declaring it with the keyword extern. In this
example, the identifier a is defined in program 1. It is declared
extern in program 2. Similarly, b is defined in program 2 and
declared extern in program 1.