登录
首页 » Visual C++ » Date

Date

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

  • USB-mouse
    一个鼠标基于C8051f340为核心的USB鼠标程序,在开发板上已调可用。用Keil打开。(A mouse-based core C8051f340 USB mouse program has been transferred is available on the development board. Opened with Keil.)
    2014-05-02 17:02:37下载
    积分:1
  • 12864huaxian
    12864上面的并行画线,可以画圆,三角形,正方形,直线,正弦波(12,864 above the parallel line drawing, you can draw a circle, triangle, square, line, sine wave)
    2013-08-20 16:28:28下载
    积分:1
  • vb-example
    vb单片机上位机例程 很详细的例子,直接可用 适合初学者 (vb example)
    2011-08-21 17:59:38下载
    积分:1
  • Mouse_Drive
    电脑鼠底层驱动,能实现曲线转弯,速度快,很平稳(Computer mouse driver, can realize curve curve, speed, very smooth )
    2012-02-26 21:53:33下载
    积分:1
  • MultiThreadADO
    MultiThread DB - ADO CMTDaoDatabase CMTDaoRecordset
    2013-12-25 01:26:16下载
    积分:1
  • M16-NRF2401
    nrf2401M16无线模块开发案例,很实用哦(nrf2401 wireless module development case)
    2011-09-21 23:42:33下载
    积分:1
  • taxi
    基于AT89C51单片机的出租车计价器的程序设计(AT89C51 microcontroller Taximeter-based program design)
    2012-08-07 00:27:19下载
    积分:1
  • AD9851
    AD9851中文资料,为pdf格式,资料比较详细,希望对需要者有所帮助。(AD9851 Chinese data)
    2013-10-26 14:11:10下载
    积分:1
  • SSD6-EXAM-PRACTICAL-TASK
    SSD6 EXAM PRACTICAL TASK
    2016-01-05 17:26:07下载
    积分:1
  • 200851613141547761
    边界盒的检测,能有效的知道边界盒的最大长度,为编程带来方便(Bounding box test, which can effectively know the maximum length of the boundary box for programming convenience)
    2010-10-26 09:19:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载