登录
首页 » Visual C++ » Date

Date

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

  • RS485_connection_process-for-C51
    在51单片机上实现RS485通讯,能够实现与上位机的通信(RS485 mode on 51 single, able to communicate with the host computer)
    2014-08-21 18:10:03下载
    积分:1
  • pid-control
    对于闭环控制有很好的说明以及pid算法的具体实现(Specific implementation for closed-loop control has a good explanation and pid algorithm)
    2014-03-31 21:34:04下载
    积分:1
  • iCAN4017
    iCan4017模块改进程序,语言Windows Visual C++(iCan4017 programme, Windows Visual C++.)
    2018-04-26 10:26:08下载
    积分:1
  • C51-VBddl
    VB 开发C51的动态链接库,可以拿来直接用的,(VB-C51 dynamic link library that can be used directly, and)
    2013-11-17 22:19:39下载
    积分:1
  • cvery_252525234
    C++ SDK绘图。涉及函数:WinProc Draw(C++ SDK graphics. Related to function: WinProc Draw)
    2008-01-25 10:49:47下载
    积分:1
  • DHT11
    MSP430F5529驱动DHT11,并用带字库的JLX12864显示(MSP430F5529 driver DHT11, and use the font JLX12864 display)
    2020-11-29 15:49:29下载
    积分:1
  • kuanfang-
    以dac7811带动的宽放的编写程序, 以dac7811带动的宽放的编写程序 以dac7811带动的宽放的编写程序,,(In dac7811 driven liberalization of programmingIn dac7811 driven liberalization of programming)
    2013-09-04 08:26:14下载
    积分:1
  • LcdDisplay
    c8051f020单片机的12864液晶显示 4行汉字 很简单的改变(c8051f020 microcontroller 12864 LCD 4 lines of Chinese characters is very simple change)
    2012-09-08 20:03:16下载
    积分:1
  • CH341 _上位 VC
    CH341 上位机软件,支持I2C UART等 接口(CH341 host computer software, support I2C, UART and other interfaces)
    2021-01-08 21:28:51下载
    积分:1
  • QuizMaster1793799142004
    QuizMaster for viusal basic.
    2016-01-03 14:37:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载