登录
首页 » Visual C++ » Date

Date

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

  • MD130_TUBUS_DRIVER
    oprogramowanie kamery MD130
    2012-10-04 05:38:34下载
    积分:1
  • SN65LBC184
    器件SN65LBC184手册,便于学习者学习开发!(Device SN65LBC184 manual for ease learners develop!)
    2013-09-11 11:51:47下载
    积分:1
  • 温湿度VB源码
    温湿度串口检测程序,实现对数据的读取和检测(Temperature and Humidity Serial Port Detection Program for Data Reading and Detection)
    2020-06-17 10:20:02下载
    积分:1
  • ST7567
    说明:  本程序是st7567驱动12864液晶显示采样串行方式驱动程序(This program is st7567 LCD driver 12864 driver serial sampling)
    2011-03-23 15:12:15下载
    积分: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
  • jbrj
    针对RN8209新型电表计量芯片的校表软件,使用DLT645-2007通讯协议(RN8209 for new electricity metering chip calibration software, communications protocols using DLT645-2007)
    2021-02-01 14:40:00下载
    积分:1
  • BEM2CPP
    二维弹性常值边界元程序BEM2C++,二维边界元,弹性静力学(2 Dimensional elastic constant BEM program BEM2C++)
    2014-01-07 16:31:07下载
    积分:1
  • ad_adjust1
    说明:  数字滤波器,AD采样的值进行数字滤波,得到较理想的值(Digital filters, AD sampling the value of the digital filter, to be more ideal value)
    2009-08-27 23:23:06下载
    积分:1
  • zhongjile
    通过51单片机设计一个电子时钟,精确到秒,可以通过按键调节时间(By 51 microcontroller design an electronic clock, accurate to seconds, you can adjust the time by pressing a button)
    2013-11-14 09:56:13下载
    积分:1
  • z
    说明:  足球机器人小车总体设计思想及其单片机选型(The soccer robot car overall design thinking its microcontroller selection)
    2013-03-26 10:18:45下载
    积分:1
  • 696518资源总数
  • 106242会员总数
  • 10今日下载