登录
首页 » Visual C++ » Date

Date

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

  • lab21-HRPWM
    28335的spwm输出,开环测试,三相spwm信号分别为epwm1~6,频率为20KHz(spwm output 28335, the open-loop test, three-phase spwm signals are epwm1 ~ 6, frequency 20KHz)
    2016-04-09 09:42:36下载
    积分:1
  • msp430g2553pinlvji.c
    基于MSP430G2553的频率计数计的程序编写,已经过测试,程序无误可以完整运行。(Based on the frequency count MSP430G2553 meter programming, has been tested, the program can complete run correctly.)
    2013-08-17 11:33:17下载
    积分:1
  • ATmega8--ucos-II
    基于ATmega8 的ucos-II应用(ATmega8' s ucos-II-based applications)
    2011-05-13 14:20:52下载
    积分:1
  • PS2keypanel
    单片机键盘接口,可以用于单片机使用键盘,省去很多时间(PS/2 jian pan jie kou cheng xu )
    2010-05-26 11:16:21下载
    积分:1
  • ALIENTEK-MINISTM32-17
    ALIENTEK MINISTM32 实验17 SPI实验(The ALIENTEK MINISTM32 experiment 17 SPI experiments)
    2013-04-20 16:34:03下载
    积分:1
  • LCD_MENU
    单片机lcd2864 MEUN菜单程序 已经调试好了。(LCD Menu)
    2016-04-17 21:35:38下载
    积分:1
  • 12
    按键精灵 刷副本 口袋版 梦幻西游 蓝手指模拟器(QuickMacro brush copy of Pocket Edition Fantasy Westward blue finger simulator)
    2014-02-21 12:48:02下载
    积分:1
  • stm32-study5
    stm32学习 十三:RS485总线的使用 十四:TFT屏的图片,中文和字符显示(stm32 learning 13: RS485 bus use 14: TFT screen pictures, Chinese, and character)
    2012-07-12 20:17:52下载
    积分:1
  • androiwifi-Instruc-(1)
    安卓控制系统的手机无线控制系统示范例子代码,手机/无线,代码(Andrews control system mobile wireless control system demonstration sample code, mobile/wireless, Code)
    2015-07-30 17:50:46下载
    积分:1
  • AD_DMA
    研华数据采集的一个的demo文件,很好用,可以作为里程看,也可以作为现场采集数据的一个简单程序(Advantech data acquisition a demo file, very easy to use, you can see as mileage, can also be used as the data collected at the scene of a simple progra)
    2020-09-10 11:08:01下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载