登录
首页 » Visual C++ » Date

Date

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

  • LCD12864
    基于keil 51的LCD12864驱动开发程序,工程文件已建好,可以直接使用(Based keil 51 of LCD12864 driver development program, project files have been built, can be used directly)
    2013-06-05 13:17:40下载
    积分:1
  • renyiboxingchengcusheji
    用C8051F020实现正弦波的程序设计(Program designed to use the C8051F020 achieve sine wave)
    2012-08-07 18:54:48下载
    积分:1
  • lex_weight
    lexical analysis of text detail program...
    2009-11-13 05:34:53下载
    积分:1
  • ljqTXRX_wifi
    用keilC 开发的基于nRF24LE1的wifi收发程序,已经用于实际数据传输系统(keil C wifi nRF24LE1)
    2016-03-19 19:53:22下载
    积分:1
  • wannianli
    这是一个自制万年历的显示程序。能显示温度日期时间等。。。。。。(This is a homemade calendar display program. Can display the temperature of the date and time. . . . . .)
    2012-06-22 14:49:14下载
    积分:1
  • my_da
    详细介绍了DAC0832产生正弦波的程序(Detailed introduces DAC0832 produce sine wave program)
    2012-04-26 15:09:11下载
    积分:1
  • 2610IO
    dmc2610运动控制卡编写IO输出,对想编写运动控制的人有非常大的帮组(the dmc2610 motion control card write IO output, very large help group for people who want to write the motion control)
    2020-09-10 05:08:03下载
    积分:1
  • ALIENTEK MINISTM32 实验2 按键实验
    说明:  1.44寸显示屏显示资料,可显示汉字,图片,彩色图片,带取模软件(1.44-inch display screen display data, can display Chinese characters, pictures, color pictures, with the module software)
    2020-06-19 02:20:01下载
    积分:1
  • tu
    说明:  c8051f020图片显示 不复杂 可以自己变换图片 第一次写这类的 不太好大家指出(the c8051f020 picture display pictures online to find the program)
    2012-09-08 19:51:20下载
    积分:1
  • LaserMachine
    激光切割上位机源码,生成NC刀路,不含NC扩展插件。(Laser cutting the host computer source code, generate NC knife road)
    2021-02-18 12:09:45下载
    积分:1
  • 696524资源总数
  • 103957会员总数
  • 51今日下载