b29.h
来自「C++程序设计教程(第二版)课件以及源代码 是初学者接触并能很好理解的参考书」· C头文件 代码 · 共 19 行
H
19 行
//=====================================
// b29.h
//=====================================
#ifndef HEADER_B29
#define HEADER_B29
#include"inch29.h"
#include"plasma.h"
#include<iostream>
//-------------------------------------
class B29 : public Inch29, protected Plasma{
public:
void adjustVolume(){ std::cout<<"Plasma29 AdjustVolume\n"; }
void switchChannel(){ std::cout<<"Plasma29 SwitchChannel\n"; }
void adjustLight(){ std::cout<<"Plasma29 AdjustLight\n"; }
~B29(){}
};//-----------------------------------
#endif // HEADER_B29
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?