birthday.cpp

来自「交通系统中关于各地之间可行线程的求得」· C++ 代码 · 共 37 行

CPP
37
字号
// Birthday.cpp: implementation of the Birthday class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Birthday.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
Birthday::Birthday(){}
Birthday::Birthday(int year,int month,int day)
{
	this->year = year;
	this->month = month;
	this->day = day;
}

Birthday::~Birthday()
{

}

// 设置出生日期
void Birthday::setBirth(int setyear,int setmonth,int setday)
{
	year=setyear;
	month=setmonth;
	day=setday;
}

// 显示出生日期
void Birthday::displayBirth(int setyear,int setmonth,int setday) const
{
	
}

⌨️ 快捷键说明

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