📄 f1307.cpp
字号:
//=====================================
// f1307.cpp
// sony handle application
//=====================================
#include"createsony.h"
#include"sonyhandle.h"
enum { PUREFLAT, PLASMA, LIQUIDCRYSTAL, NANOMETER };
//-------------------------------------
void fsh(SonyHandle& sh){
sh->adjustVolume();
sh->switchChannel();
}//------------------------------------
void createSonyObject(CreateSony* sp){
SonyHandle sh29(createSonyInch29(sp));
SonyHandle sh43(createSonyInch43(sp));
fsh(sh29);
fsh(sh43);
}//------------------------------------
int main(){
if(CreateSony* sp = createCreateSony(PLASMA)){
createSonyObject(sp);
delete sp;
}
}//====================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -