ccalendar.h

来自「一些简单的c++实习题目」· C头文件 代码 · 共 18 行

H
18
字号
//#include <iostream>
//using namespace std;
//class ccalendar
//{
//private:
//	int m_gap;
//	int nYear,nMonth,nMonthday;
//public:
//	bool bRunNian;
//	ccalendar(int defaultnYear=2008);
//	~ccalendar(void);
//	void SetnYear(int nYear);//设置日历年份
//	void PrintCalendar(bool bStyle=true,bool text=false,char *FileName="d:\\2.txt");//不同方式打印1990年日历
//	void PutFile(char * FileName,bool bStyle);//将日历输出到文本文件中,true表示纵向输出
//	static bool IsRunYear(int nYear);//判断某年是否是闰年
//	int m_gapday();//计算每年起始周几
//};

⌨️ 快捷键说明

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