登录
首页 » Visual C++ » Date

Date

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

  • chuankou_MFC
    通过MFC实现上位机与下位机的串口通讯,可自配置。(Through MFC to achieve the host computer and the next bit machine serial communication, self configuration.)
    2016-07-21 21:26:17下载
    积分:1
  • audio-capture-raw-_console
    利用kinect获取原始的音频波形,得到四声道的pcm波形。(Use kinect to get the original audio waveform, get pcm waveform four channels.)
    2021-01-29 14:18:35下载
    积分:1
  • an_r01an0455ej0100_rl78_pwm
    瑞萨 pwm 控制(自带头文件)压缩包打包 (Renesas pwm control (from the lead file) compressed packed)
    2013-08-31 09:00:39下载
    积分:1
  • zhe-ren-yi-biao
    车辆CAN总线的实时监测的电池容量,剩余容量,电压,电流和警报的其他参数(Vehicles can bus for real-time monitoring of battery capacity, remaining capacity, voltage, current and other parameters of the alarm)
    2014-10-09 21:46:56下载
    积分:1
  • basic-can-project-at91sam9263-ek
    AT91SAM9263的Keil下的CAN总线的例程文件(AT91SAM9263 under the CAN bus of the Keil routine document)
    2009-12-11 18:29:01下载
    积分:1
  • key
    西南交通大学图形学实验的第二个,响应键盘的系统键和非系统键(Second, the system in response to keyboard keys and key non-system experiments Southwest Jiaotong University Graphics)
    2014-04-21 21:23:13下载
    积分:1
  • fangzhen
    0013、单片机C语言程序设计实训100例——基于8051+Proteus仿真(0013, Microcontroller C Programming Language Training 100 cases- based on 8051+ Proteus simulation)
    2016-06-24 22:29:09下载
    积分:1
  • driver
    ht1621驱动C语言版本,基本是一个通用的版本(ht1621 driver C language version of the basic version is a generic)
    2009-04-17 21:28:56下载
    积分:1
  • LCD12864
    关于金鹏LCD12864串行显示的程序,没有复位端。(Jinpeng LCD12864 serial display on the program, there is no reset terminal. )
    2011-12-23 15:28:10下载
    积分:1
  • FreeRTOS_KL16
    FreeRTOS_KL16FreeRTOS是一个迷你的实时操作系统内核。作为一个轻量级的操作系统,功能包括:任务管理、时间管理、信号量、消息队列、内存管理、记录功能、软件定时器、协程等,可基本满足较小系统的需要(FreeRTOS is a mini real time operating system kernel. As a lightweight operating system, features include: task management, time management, semaphores, message queues, memory management, recording function, software timer, coroutine, can meet the basic needs of the smaller system)
    2021-05-12 20:30:02下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载