📄 date.h
字号:
#ifndef DATE_H
#define DATE_H
#include <iostream>
using namespace std;
class Date
{ public:
int m_year;
int m_month;
int m_day;
friend ostream & operator<<(ostream & output ,Date &d);
friend istream & operator>>(istream &output,Date &d);
Date(int y=0,int m=0,int d=0);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -