⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datelegal.h

📁 自己写的date类
💻 H
字号:
#ifndef DATELEGAL_H_H
#define DATELEGAL_H_H

#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
class DateLegal
{
private:
	int year;
	int month;
	int day;
protected:
	bool is_super_year();
	bool is_big_month();
	bool is_month_2();
public:
	DateLegal(int y, int m, int d);
	void DLsetdate(int y,int m, int d);
	bool year_legal(); 
	bool month_legal();
	bool day_legal();
	bool fine();
};

#endif

⌨️ 快捷键说明

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