登录
首页 » Visual C++ » Date

Date

于 2012-11-22 发布 文件大小:173KB
0 224
下载积分: 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 个回复

  • suanfa
    打孔机主要用于在制造印刷线路板流程中的打孔作业。本问题旨在提高某类打孔机的生产效能。 打孔机的生产效能主要取决于以下几方面:(1)单个过孔的钻孔作业时间,这是由生(this is a new suan fa ofaa)
    2012-08-25 16:18:21下载
    积分:1
  • CC2430_FDMA
    说明:  程序为基于Zigbee无线通信的点对多点无线通信源程序。ZigBee堆栈是在IEEE 802.15.4标准基础上建立的,定义了协议的MAC和PHY层。CC2430为基于51核心的高性能芯片。程序的编译平台为chipcon公司的IAR..(program of CC2430 )
    2010-04-21 17:51:23下载
    积分:1
  • 74ls164
    51单片机驱动74ls164程序 (51 Microprocessor 74ls164 program)
    2010-12-06 17:07:02下载
    积分:1
  • Car-rental-system
    简单汽车租赁系统 大学C++开发实习参考(Car rental system)
    2014-10-22 21:48:32下载
    积分:1
  • C51-signal-generator
    基于C51单片机的波形信号发生器:矩形波,方波,三角波。包含单片机仿真。(Based on the C51 single-chip waveform signal generator: square wave, square wave, triangle wave. Contains simulation microcontroller.)
    2013-05-14 13:19:42下载
    积分:1
  • mpu
    MSP430F5529 MPU6050代码(MSP430F5529 MPU6050 code)
    2020-10-12 10:57:32下载
    积分:1
  • iCAN4017
    iCan4017模块改进程序,语言Windows Visual C++(iCan4017 programme, Windows Visual C++.)
    2018-04-26 10:26:08下载
    积分:1
  • STC15-LCD12864
    STC15单片机驱动LCD12864,并且是使用串口通信协议,节约IO口,亲测可用(STC15 microcontroller driven LCD12864, and you are using serial communication protocol, save IO ports, pro-test available)
    2020-09-13 13:57:58下载
    积分:1
  • -
    说明:  i2c红外 小车扫描 简单程序 扫描准确(smart car scan easy program)
    2012-03-13 13:13:08下载
    积分:1
  • seven_order5
    fluent物性随温度变化的udf(包括导热和比热);边界条件温度随时间变化的udf。(fluent physical properties with temperature changes udf (including thermal conductivity and specific heat) temperature boundary conditions change over time udf.)
    2015-10-07 20:38:22下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载