classexampleimp.cpp
来自「C++编成数据结构与程序设计方法 D.S.Malk编著」· C++ 代码 · 共 18 行
CPP
18 行
//Implemantation file classExampleImp.cpp
#include <iostream>
#include "classExample.h"
using namespace std;
void classExample::setX(int a)
{
x = a;
}
void classExample::print() const
{
cout << "x = " << x << endl;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?