×

Loading...

定义在你的所有的class定义之外,然后在你的主程序初始化时,创建这个object

happy_4_7 (开心果)
(#140123@0)
2001-7-21 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: 问一个非常低级的问题,在VC的project里想定义一些class的object作为global变量,供所有文件享有。这些global变量应该定义在哪个文件里?

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论