登录
首页 » Visual C++ » Date

Date

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

  • PG_FOC
    闭环矢量的代码,台达的,汇编语言。绝对真实,行家一眼就能看出来(Closed-loop vector code, Delta, and assembly language. Absolutely true, experts tell at a glance)
    2014-08-27 10:07:42下载
    积分:1
  • DG-of-POSITION-AND-CAPACITY
    本程序用于求解以网损、电压偏差、投资运行费用最小为目标的配电网分布式能源选址定容问题,并辅以相关文献。(This procedure is used to solve the loss, voltage deviation, minimum operating cost investment objective distribution network of distributed energy locating and sizing issues, supplemented by relevant literature.)
    2021-04-12 10:28:58下载
    积分:1
  • USBDriverSetupDisk
    cy7c68001驱动程序,主要用于这个usb芯片的驱动(CY7C68001 driver chips used mainly for the usb driver)
    2020-11-25 14:29:33下载
    积分:1
  • led
    at89c2051利用74ls164 驱动 共阳极数码管(74ls164 driver to use a total of at89c2051 digital tube anode)
    2009-05-04 23:01:10下载
    积分:1
  • car
    全国大学生电子竞赛中的智能小车的设计,基于汇编语言内含设计图(Smart car)
    2014-03-12 12:24:30下载
    积分:1
  • MC9S12XS128changyongmokuai
    MC9S12系列单片机的学习的资料,里面包括了其重要的技术模块及编程技巧,能帮助大家更好的了解和使用这款单片机(MC9S12 series MCU learning materials, including its important technical modules and programming skills, to help people better understand and use the single chip microcomputer )
    2013-10-16 10:01:22下载
    积分:1
  • DC_DC
    基于430的DC_DC变化,采用PID控制,调节PWM的输出占公比,从而反馈调节输出电压(Based on 430 DC_DC change, using PID control, adjust the PWM output accounted common ratio, thus regulating the output voltage feedback)
    2013-08-31 13:24:57下载
    积分:1
  • HT66FU50
    合泰单片机,大学生单片机竞赛组委会提供的,必须使用该单片机开发的作品才能评选(holtek mcu )
    2015-04-15 16:59:48下载
    积分:1
  • motor-control-training
    使用飞思卡尔的单片机MPC5643L实现的电机控制代码(This is motor control with freescale CPU mpc5643l)
    2020-07-03 01:40:01下载
    积分:1
  • LEDtest
    利用单片机作为芯片,利用点阵按钮通过继电器控制LED灯(Using single chip microcomputer as a chip, using bitmap button by relay control LED lights)
    2013-08-22 10:32:00下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载