time.cpp

来自「这是一个C++程序,它可实现显示系统时间,还可改变时间的显示格式!」· C++ 代码 · 共 17 行

CPP
17
字号
// time.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include<iostream>
#include "myTime.h"
using namespace std;
int main(int argc, char* argv[])
{
	CmyTime time;
	time.setTime(3,35,41);
	cout<<"now,the time is ";
    time.showTime();

	return 0;
}

⌨️ 快捷键说明

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