d43.h
资源名称:c.rar [点击查看]
上传用户:puke2000
上传日期:2022-07-25
资源大小:912k
文件大小:1k
源码类别:

C#编程

开发平台:

Visual C++

  1. //=====================================
  2. // d43.h
  3. //=====================================
  4. #ifndef HEADER_D43
  5. #define HEADER_D43
  6. #include"inch43.h"
  7. #include"nanometer.h"
  8. #include<iostream>
  9. //-------------------------------------
  10. class D43 : public Inch43, protected Nanometer{
  11. public:
  12.   void adjustVolume(){ std::cout<<"Nanometer43 AdjustVolumen"; }
  13.   void switchChannel(){ std::cout<<"Nanometer43 SwitchChanneln"; }
  14.   void adjustLight(){ std::cout<<"Nanometer43 AdjustLightn"; }
  15.  ~D43(){}
  16. };//-----------------------------------
  17. #endif  // HEADER_D43
  18.