class CFather { public: CFather(); virtual ~CFather(); public: virtual void test(); //virtual void getHouse() = 0; public: int b; const static int c = 5; //声明此变量使用const,不在使用定义式(int CFather::c); };