最容易想到的方法是定义为全局的变量,但定义一个全局变量有许多缺点,最明显的缺点 ... illegal reference to data member 'Point::m_x' in a static member function.
確定! 回上一頁