21_1.cpp

来自「这是一些c++例程」· C++ 代码 · 共 20 行

CPP
20
字号
// 21_1.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "tdate.h"		//类的定义存放在该文件中
#include "iostream.h"

int main()
{
	TDate today(2003, 11, 24), tomorrow(2003, 11, 25);
	cout<<"Today    is : ";
	today.Print();
	cout<<"Tomorrow is : ";
	tomorrow.Print();
	return 0;

}


⌨️ 快捷键说明

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