📄 main.cpp
字号:
#include<iostream>
#include"8_1.h"
using namespace std;
void main()
{
int f;
Time t1;
cout<<"手动调整请按1,自动调整请按0..."<<endl;
cout<<"请输入...";
cin>>f;
switch(f)
{
case 0:t1.operator ++();t1.showtime();break;
case 1:t1.operator +();t1.showtime();break;
default:cout<<"error";break;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -