天天看点

C++类的静态方法

简单示例:

class Test
{
public:
    static void staticMethod(int count);
};
 
调用:
Test::staticMethod(0);      

继续阅读