登录
首页 » Visual C++ » Date

Date

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

  • 30
    说明:  30章51单片机入门教程,让你轻松学会单片机,不用老师,自学也能学会(30 Chapter 51 MCU introductory tutorial, allow you to easily learn the microcontroller without the teacher, can learn to self-)
    2012-12-06 21:23:50下载
    积分:1
  • LTE_UL
    仿真过程中,将改进算法那与经典算法进行比较,通过对仿真数据如系统时延、系统丢包概率以及系统吞吐量的比较分析,评估改进算法的正确性和性能。(Simulation process, the improved algorithm that compares with the classical algorithm, through the simulation data system latency, packet loss probability of the system as well as a comparative analysis system throughput, improved assessment of the correctness and performance of the algorithm.)
    2014-05-05 12:12:19下载
    积分:1
  • WPMmonitor
    上位机恒压供水控制系统,通过MODBUS网络来控制台达PLC(up computer control PLC delta, this software is vell good control software,)
    2015-11-19 10:46:50下载
    积分:1
  • ColorFading
    Code to fade colors in controls
    2013-04-06 05:15:38下载
    积分:1
  • IEC104MasterSlave
    IEC104规约Server和Client端的源码实现,遥信,遥测,遥调,遥控,总召等等都有,很有参考价值(IEC104 Statute of the Server and Client client source code implementation, remote, telemetry, remote adjustment, remote control, and so have the church always, a good reference value)
    2020-11-19 13:59:39下载
    积分:1
  • Double-two-way-voltmeter
    双两程电压表,用TLC1543做的,精准测电压(Double two-way voltmeter)
    2012-10-18 18:27:17下载
    积分:1
  • key_Queue
    3. 参考void Reverse(LinkQueue &Q)函数,定义新的函数int Palindrome_Test(char str[]),判断字符串str是否回文序列,若是则返回1,否则返回0。写出程序或用文字描述算法的执行步骤。(3. Reference void Reverse (LinkQueue & Q) function, define a new function int Palindrome_Test (char str []), to determine whether the string str palindromic sequence, if it returns 1, otherwise it returns 0. Written procedures or describe in words the steps of the algorithm.)
    2013-12-15 15:04:19下载
    积分:1
  • PetShop4steup
    非常好的一个项目。很值得你学习,值得研究,菜鸟吗都可以看看(Very good item. You are worth learning, worth studying, you can take a look at rookie)
    2009-06-09 11:36:16下载
    积分:1
  • cpluspluskursu
    c++ studying codes/c++ COURSE/EXAMPLE CODES/ NECATİ ERGİ N
    2015-12-15 04:14:10下载
    积分:1
  • RecommendedExercise1
    iCarnegie ssd5中 Recommended Exercise 1 练习日期编辑 (iCarnegie ssd5 in Recommended Exercise 1 Exercise Date of editing)
    2009-11-21 13:48:44下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载