摘要: C++中的static成员变量主要用来为多个对象共享数据 例: #include <iostream> using namespace std; class Student{ public: Student(char *name, int age, float score); void show() 阅读全文
posted @ 2019-07-29 16:00 pogeba 阅读(4032) 评论(0) 推荐(0) 编辑