登录
首页 » Visual C++ » Date

Date

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

  • temp_controller7.30jia-wen-kong
    水循环系统、温度信号采集系统、制冷及制热系统、内嵌体温调节算法的温度主控单元软件编写,基于atmega128(Water cycle system, temperature signal acquisition system, cooling and heating system, inline thermoregulatory algorithm of temperature control unit writing software, based on the atmega128 )
    2021-04-14 21:38:54下载
    积分:1
  • analog-I2C-driver-MPU050
    stm32芯片--用GPIO口模拟I2C驱动MPU6050陀螺仪(Stm32 chip- using GPIO port simulation I2C driver MPU6050 gyroscope)
    2013-12-19 19:43:04下载
    积分:1
  • 12
    说明:  按键精灵 刷副本 口袋版 梦幻西游 蓝手指模拟器(QuickMacro brush copy of Pocket Edition Fantasy Westward blue finger simulator)
    2014-02-21 12:48:02下载
    积分:1
  • TEXT2.4G
    nrf2401 发射机和接收机双向同步跳频,在35个信道上来回跳 超级防干扰(Nrf2401 two-way synchronization of fh transmitter and receiver, jump to and fro on the 35 channels Super tamper-proof)
    2015-04-19 19:58:23下载
    积分:1
  • epwm_up_aq
    生成PWM波的c程序,需要的可以自己下载查看(A C program for generating PWM waves)
    2017-08-13 18:32:49下载
    积分:1
  • LCM12864
    12864液晶屏幕,并口方式,反白,字符显示,图片显示(12864 LCD screen, parallel mode, highlight, character display, image display)
    2012-07-10 19:15:04下载
    积分:1
  • jjcsy
    酒精测试仪proteus仿真,单片机进行分析处理,判断是否醉酒驾车,再通过液晶板显示出来。(Alcohol Tester proteus simulation, analysis and processing microcontroller to determine whether drunk driving, and then through the LCD panel display.)
    2013-11-27 15:26:09下载
    积分:1
  • 1.8TFT
    实现1.8寸tft彩屏的驱动,能够显示字符,汉字,以及图片。(Achieve 1.8-inch tft color screen driver, can display characters, characters, and images.)
    2020-06-28 18:40:02下载
    积分:1
  • stm32-DPV3.1-2013.5.1
    Profibus-DP从站原理图, VPC3芯片配合STM32F103RBT6的系统,AD6原理图格式。(Profibus-DP slave schematics, VPC3 chip with STM32F103RBT6 system, AD6 schematic format.)
    2021-04-29 15:38:42下载
    积分:1
  • DELTA_PLC
    说明:  台达PLC Modbus协议通信dll com控件(nothing)
    2010-03-31 16:51:14下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载