在类外初始化要加数据类型 class Person { static int m_Age; }; //Person::m_Age = 0; //错误C4430 int Person::m_Age = 0;