date.h

来自「图书馆程序设计」· C头文件 代码 · 共 22 行

H
22
字号
#ifndef DATE_H
#define DATE_H

#include <iostream>
#include <fstream>
using namespace std;

namespace jixia
{
	class Date
	{
		int year,month,day;
	public:
		Date(){}
		Date(int y,int m,int d);
		Date(Date &d);
		friend ostream & operator<<(ostream &o,Date & d);
		friend istream & operator>>(istream &i,Date & d);
	};
}

#endif

⌨️ 快捷键说明

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