tdate.h
来自「这是一些c++例程」· C头文件 代码 · 共 26 行
H
26 行
// TDate.h: interface for the TDate class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_TDATE_H__78E1A770_937D_41EA_93DA_AE113B83872D__INCLUDED_)
#define AFX_TDATE_H__78E1A770_937D_41EA_93DA_AE113B83872D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class TDate
{
public:
TDate(int y,int m,int d);
~TDate();
int IsLeapYear();
void Print();
private:
int year, month, day;
};
#endif // !defined(AFX_TDATE_H__78E1A770_937D_41EA_93DA_AE113B83872D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?