在C++中,会用extern定义外部变量,我不理解

这个extern到底是干什么用的啊?谁能帮我解释一下啊,多谢。。。

所有跟帖: 

it is used to define a global -pctech- 给 pctech 发送悄悄话 (20 bytes) () 01/05/2005 postreply 10:17:51

就是定义一个全局变量的意思哦。。。 -上课没听- 给 上课没听 发送悄悄话 (0 bytes) () 01/05/2005 postreply 10:28:51

it is, so you can use it anywh -ere- 给 ere 发送悄悄话 (0 bytes) () 01/05/2005 postreply 10:43:04

请您先登陆,再发跟帖!