...应当声明这个变量,但是他们中只能有,也必须有一个作为主声明(principle declaration),其他的都是外部声明(extern declaration),通过加"extern"实现。
基于1个网页-相关网页
extern declaration
外面的宣言
以上为机器翻译结果,长、整句建议使用 人工翻译 。
This is only an extern reference, not the declaration itself.
这只是个extern引用,而非声明本身。
youdao
How to define extern variable along with declaration?
如何定义外部变量和声明?
应用推荐
模块上移
模块下移
不移动