07 2019 档案

摘要: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 阅读(4040) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示