bell.cpp
来自「这个程序是对电梯的模拟」· C++ 代码 · 共 28 行
CPP
28 行
// Bell.cpp: implementation of the Bell class.
//
//////////////////////////////////////////////////////////////////////
#include "Bell.h"
#include <iostream>
using namespace std;
#define SPACE2 " "
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Bell::Bell()
{
}
Bell::~Bell()
{
}
void Bell::Ring()
{
cout<<SPACE2<<"Bell ring &";
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?