b43.h

来自「C++程序设计教程(第二版)课件以及源代码 是初学者接触并能很好理解的参考书」· C头文件 代码 · 共 19 行

H
19
字号
//=====================================
// b43.h
//=====================================
#ifndef HEADER_B43
#define HEADER_B43
#include"inch43.h"
#include"plasma.h"
#include<iostream>
//-------------------------------------
class B43 : public Inch43, protected Plasma{
public:
  void adjustVolume(){ std::cout<<"Plasma43 AdjustVolume\n"; }
  void switchChannel(){ std::cout<<"Plasma43 SwitchChannel\n"; }
  void adjustLight(){ std::cout<<"Plasma43 AdjustLight\n"; }
 ~B43(){}
};//-----------------------------------
#endif  // HEADER_B43

 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?