[C++] static member variable and static const member variable

  • static member variable[可读可写]

    可以通过指针间接修改变量的值

  • static const member variable[只读]

    压根就不可以修改变量的值,会报错

[C++] static member variable  and static const member variable

上一篇:ACdream 1214---矩阵连乘


下一篇:php CLI 模式下的传参方法