登录
首页 » Visual C++ » Date

Date

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

  • ucosii51
    这是一个用51单片机系统仿真ucosii工作的protues电路 本系统包括扩展64k RAM的单片机系统和杨屹移植到51单片机的ucosii 系统 使用方法: 1.安装Protues7.4版,然后用protues打开protues 8051 simulation 文件夹 中的extern ram.DSN 文件 2.打开extern ram.DSN 后,双击单片机在弹出的窗口中的Program File 选项 中选择yy.hex文件。 (yy.hex其实就是yy文件夹中keil文档编译出来的hex文 件,yy文件夹是杨屹的ucos51 系统,用keil 2 可以打开) 3.在Clock Frequency选项中输入22.184M(杨屹的ucos51 用的是22.184M hz的单片机频率) 4.双击VTERM串口调试显示屏,在Baud Rate 选项中选择19200的波特率 5.保存,点击运行就可以看到经典的hello world 了。 (1. Protues7.4 version installed, and then open the protues folder protues 8051 simulation The extern ram.DSN file 2. Open extern ram.DSN, double-click the pop-up window of SCM in the Program File option, select yy.hex file. (yy.hex actually yy folder keil out of the document compiled hex files, yy folder is Yang Yi s ucos51 system, using keil 2 Can open) 3. In the Clock Frequency option to enter 22.184M (Yang Yi of the ucos51 using a microcontroller 22.184M hz frequency) 4. Double-click VTERM serial debug display, in the Baud Rate select 19200 baud rate options 5. Save, click Run you can see the classic hello world)
    2010-03-09 19:40:03下载
    积分:1
  • tongbu
    关于无线传感器网络时间同步算法RBS算法的仿真(About wireless sensor network time synchronization algorithm RBS algorithm simulation)
    2020-06-30 16:00:01下载
    积分:1
  • STM32
    STM32驱动CD4067控制多个红外线进行距离测量(Stm32 drive cd4067 control multiple infrared distance measurement)
    2015-07-08 11:58:48下载
    积分:1
  • RTOS
    说明:  各位C51的爱好者能够看到我的拙作,这离不开龙 啸九天版主的支持,在此,我向他表示感谢,也相信C51BBS会越办越好!(C51 fan you can see my apology, which is inseparable from Long Xiao nine moderator support in this, I thanked him, and believe C51BBS will be better and better!)
    2011-04-11 09:44:53下载
    积分:1
  • adc
    对ad7685的详细运用。加上12864显示。有电路图、芯片资料(Detailed use of ad7685 plus 12864 shows)
    2013-08-21 14:37:18下载
    积分:1
  • Fms
    自动化生产线的总控程序,基于modbusrtu从站为西门子,s7_200,源代码中涉及大量工业控制技术思路以及原理(I dont know how to write sorry.)
    2016-09-06 21:01:41下载
    积分:1
  • MSP430
    MSP430 我们全国电子竞赛老师给的资料(MSP430 National Electronic contest teacher gave us the information)
    2013-08-16 14:20:55下载
    积分:1
  • Ex006
    VS2010 C++学习(6):ListCtrl用法及ADO方式读写Access程序(VS2010 C++ learning (6): ListCtrl Usage and Access ADO literacy program)
    2014-04-28 17:53:25下载
    积分:1
  • C8051F06x
    c8051f060单片机开发的基础代码,i/o口c语言测试程序,适合初学者。(c8051f060 microcontroller development code base)
    2014-04-02 15:29:04下载
    积分:1
  • XMT_USB_VC6
    哈尔滨芯明天科技XE517系列压电陶瓷控制器配套上位机软件的开发例程,这个版本是VC6开发。发布时需要拷贝debug目录中的头文件和动态库文件到*.exe文件目录中。(Harbin XMT XE517 series of piezoelectric ceramic controller supporting PC software development routines, this version is VC6 development. When you need to copy the directory publishing debug header files and dynamic library files to*. Exe file directory.)
    2021-01-04 09:18:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载