📄 illustrate.cpp
字号:
#include <iostream>
#include "illustrate.h"
using namespace std;
int illustrate::count = 0;
int illustrate::y = 0;
void illustrate::print() const
{
cout << "x = " << x << ", y = " << y
<< ", count = " << count << endl;
}
void illustrate::setX(int a)
{
x = a;
}
void illustrate::incrementY()
{
y++;
}
illustrate::illustrate(int a)
{
x = a;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -