登录
首页 » Visual C++ » Date

Date

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

  • qiangdaqi
    这是利用51单片机设计成的8路抢答器,主持人按下“开始”按键才开始抢答,并亮抢答允许指示灯(Host press the start button to vies to answer first, light and bright vies to answer first allowed.)
    2015-11-06 13:34:01下载
    积分:1
  • Patch-WinLicense-hwid
    Patch WinLicense hwid ~
    2015-02-19 01:17:15下载
    积分:1
  • MSP430
    MSP430 我们全国电子竞赛老师给的资料(MSP430 National Electronic contest teacher gave us the information)
    2013-08-16 14:20:55下载
    积分:1
  • DAC5615
    DAC5615的使用,能够控制输出电压为设定电压,并保持恒定。(DAC5615 used to control the output voltage setting voltage, and constant.)
    2011-06-17 17:29:30下载
    积分:1
  • 19
    说明:  单片机c语言 初学者有用 有例子哦 (SCM c language for beginners there are examples of useful oh)
    2009-09-17 21:23:41下载
    积分:1
  • ADCzhuanhuan
    单片微型计算机简称单片机,是典型的嵌入式微控制器(Microcontroller Unit), 单片机芯片 常用英文字母的缩写MCU表示单片机,单片机又称单片微控制器,它不是完成某一个逻辑功能的芯片,而是把一个计算机系统集成到一个芯片上。(Microcontroller chip microcomputer referred to, is a typical embedded microcontroller (Microcontroller Unit),     Single chip Commonly used letters of the abbreviation indicates MCU microcontroller, microcontroller, also known as single-chip microcontroller, it is not complete a certain logic functions of the chip, but to a computer system integrated into a single chip.)
    2013-09-10 20:10:24下载
    积分:1
  • msp430DS18B20
    msp430单片机DS18B20温度程序(Msp430 single chip DS18B20 temperature program)
    2015-07-23 21:16:17下载
    积分:1
  • signal
    本系统以单片机AT89C52为核心,以数模转换器DAC0832实现方波、正弦波、三角波、锯齿波波形的输出,实现信号发生器的简易功能。(This system with single chip microcomputer AT89C52 as the core, with digital to analog converter DAC0832 achieve square wave, sine wave, triangle wave, sawtooth wave form output, realize the simple function of the signal generator.)
    2020-11-02 17:19:53下载
    积分:1
  • DPM_BODY_FORCE
    It can be used to simulate body force in Discrete Particle Model (DPM) in ANSYS FLUENT v14.5
    2014-04-16 10:02:48下载
    积分:1
  • ads7846
    asaasa adxsadsa ssda
    2011-05-10 21:28:29下载
    积分:1
  • 696518资源总数
  • 105547会员总数
  • 4今日下载