会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
依风152
博客园
首页
新随笔
联系
订阅
管理
2015年7月24日
Cpp -- static变量不属于类的实例
摘要: 在Cpp中,类中的Static变量不属于任何一个实例。下面,使用两种方法具体证明。1、class Student{private: string name; int age; int height; static int money;public: Student(st...
阅读全文
posted @ 2015-07-24 20:20 依风152
阅读(401)
评论(0)
推荐(0)
编辑