2015年7月24日
摘要: 在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) 编辑