?? test.cpp
字號:
#include <iostream.h>
class Point
{
public:
void output()
{
init();
}
static void init()
{
x=0;
y=0;
}
private:
static int x,y;
};
int Point::x=0;
int Point::y=0;
void main()
{
// Point pt;
// pt.init();
// pt.output();
Point::init();
// Point::output();
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -