登录
首页 » Visual C++ » Date

Date

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

  • Platform-SDK---April-2005-Edition
    Platform SDK-April 2005 Edition English 英语种子下载(Platform SDK- April 2005 Edition (English) Download.)
    2015-01-20 19:28:38下载
    积分:1
  • CCU6
    很适合英飞凌单片机的初学者,可作为初学者的很好的参考资料。(Infineon microcontroller is suitable for beginners, as a good reference for beginners.)
    2015-02-04 09:39:57下载
    积分:1
  • opencamlib-master
    一个C++库,用于CNC数控加工之CAM处理。(OpenCAMLib (ocl) is a c++ library for creating toolpaths for cnc-machines such as mills and lathes.)
    2016-01-25 16:14:20下载
    积分:1
  • snoc017
    ti公司电弧检测板原理图及使用说明,主要利用时频域特征检测电弧(TI company arc detection board schematic and instructions for use)
    2016-08-01 15:12:39下载
    积分:1
  • baseon80c51ofmc522
    读写器与射频卡通信的设计采用RC522射频读写芯片与射频卡进行通信,符合ISO14443规范协议;硬件系统设计中主要有AVR单片机主控模块、电源模块、存储模块、外部时钟模块、LCD模块;软件系统设计采用C语言,遵循模块化和结构化编程模式,设计了射频卡操作程序、软关机与自动关机程序、LCD显示、串行Flash存储器、外部时钟等外部设备驱动程序。所设计的手持式读写器具备对MF1 S50、S70射频卡的读写、实时状态显示、系统在线升级以及关机等功能。(This handset can process the data offline or online, reading and writing from 10 cm far. This handset is low-power, miniature, modular design and so on. This article includes: the communication design between RF card and Reader, hardware system design and software systems design. The communication design between RF card and Reader used to RC522 RF chip control RF cards, in line with ISO14443 standard protocol Hardware system design mainly include AVR microcontroller control modules, power modules, memory modules, external clock modules, LCD modules Software system designed with C programming language, and follow the modular structure of the programming model, and has the RF card operation procedures, soft shutdown and automatic shutdown procedures, LCD display, serial Flash memory, an external clock, and other external device driver Procedures. The handset readers has the MF1 S50, S70 RF card reader function, real-time status display function, the system online update function and so)
    2021-03-22 20:19:16下载
    积分:1
  • actionGroupExample
    源码p3at小车的程序 需要的直接下载 VS2008打开 挺不错的程序!!!!(Direct download VS2008 source p3at car program needs to open11)
    2014-09-13 17:47:48下载
    积分:1
  • PID
    1单片机 控制直流电机转速 PID算法+C语言程序+Proteus仿真 采用PID控制算法控制电机转速,使得电机实际转速与设定转速保持一致。(1 MCU control DC motor speed PID algorithm+C language program+Proteus simulation using PID control algorithm to control motor speed, so that the actual motor speed and the set speed consistent.)
    2015-05-07 14:24:09下载
    积分:1
  • 2401SPI3
    SPI3完整代码适用2401的2.4G通信(SPI3 complete code for 2401 of 2.4 G communication SPI3 complete code for 2401 of 2.4 G communications)
    2014-09-12 08:46:13下载
    积分: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
  • fpga_8051
    毕业设计中等精度频率计8051IP核的C语言代码,功能是计算频率,脉宽,相位。还有控制LCD12864(Graduate design Medium precision frequency meter the 8051IP nuclear C-language code, the function is to calculate the frequency, pulse width, phase. As well as control LCD12864)
    2012-07-13 15:30:15下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载