赞
踩
测试静态变量时,出现一个小bug,话不多说,故障代码如下:
#include <iostream> using namespace std; class Person{ public: Person() { cout << "static age = " << age