登录
首页 » Visual C++ » Date

Date

于 2012-11-22 发布 文件大小:173KB
0 250
下载积分: 1 下载次数: 8

代码说明:

  用整数存储私有成员:年、月和日。为类提供构造函数,能够对各成员进行初始 化,但出现错误的初值时, 成员为2000-1-。也可以不在不提供任何初值的情况 下日期为2000-1-1。另外可以用一个Date 对象进行初始化,成员函数应实现以 下功能: (1) 对所有成员一次性赋值,也能对某个成员单独赋值,能够一次返回所有成 员的值,也能单独返回某个成员的值 (2) 可以按照mm-dd-yyyy 格式输出日期。 (3) 有成员函数nextDay(),用于将日期增加一天(Integer stored the private Members: year, month, and day. Class provides a constructor to initialize the members, but the wrong initial value, members 2000-1-. The date can also be not the case does not provide any initial value 2000-1-1. Also available on a Date object is initialized, the member function should achieve the following functions: (1) all members of the one-time assignment, can also be a member of a separate assignment, to return once the value of all the members, but also separate return a The members of the value (2) according to the date of mm-dd-yyyy format output. (3) member function nextDay () for additional day date)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Elevator-program
    使用C51单片机开发的电梯源程序,单片机开发源程序(Use elevator source C51 MCU development, microcontroller development source)
    2015-08-28 09:42:56下载
    积分:1
  • Effective
    c++ effective系列丛书电子版(c++ effective electronic version of the book series)
    2013-12-06 19:18:06下载
    积分:1
  • PN532_nfc_lib
    PN532的上位机软件库,包括应用说明文档(PN532 PC software libraries, including the application documentation)
    2015-04-15 16:08:44下载
    积分:1
  • mrLpWcAxB
    代码是用来实现向其他应用程序(记事本)中发送键盘消息的源码,一般,演示程序,很好用,罕见(The code is used to realize the source of keyboard messages sent to other applications (Notepad), generally, the demonstration program, well used, rare)
    2013-01-12 11:15:16下载
    积分:1
  • Full2012
    1. 本研究利用 PCA 对可见-近红外(450~1 000 nm)、可见光(450~780 nm)和近红外(780~1 000 nm)光谱区域的苹果高光谱图像数据进行降维,获得 PC 图像,通过对 PC 图像进行分析,确定可用于分割损伤和正常区域的有效光谱区域,对比分析几个光谱区域的 PCA 的效果。(but currently no practical system for detecting blood spots and dirt stains exists. In order to obtain maximum throughput, processing speeds of over 85,000 eggs per hour are common. The demanding requirements placed on the human workers result in two types of grading errors)
    2013-09-03 16:30:05下载
    积分:1
  • timer2112
    说明:  定时器的使用,让你了解使用定时器所必须的几个步骤!从而能够使用(the use of timers let you know by the use of timers to be a few steps! In order to use)
    2005-09-07 09:49:07下载
    积分:1
  • yuanlitu
    单片机系统原理图 拥有各种功能 基本上能满足学生单片机学习开发应用(mcu perfect)
    2011-05-18 23:50:21下载
    积分:1
  • xiaocheyanluzou
    小车沿着黑带前进,这事往年一个竞赛题目的程序,对大家有帮助。(The car along the black belt, it past a contest questions purpose program, are helpful to you. )
    2013-08-19 11:38:13下载
    积分:1
  • ADC1_TriggerConversion
    根据对应的按键值,对应输出相应的电容值,并做掉电检测(According to the corresponding key value, corresponding to the output of the corresponding capacitance values ​ ​ and do brownout detection)
    2013-11-26 23:42:16下载
    积分:1
  • tem
    上位机通信-配合XTMonitor显示温度等(PC communication- with XTMonitor display temperature, etc.)
    2013-07-23 19:56:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载