登录
首页 » Visual C++ » Date

Date

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

  • ctrl
    说明:  模糊PID控制器,解决了规则爆炸的问题,同时改善了系统的动态性能和实时性(Fuzzy PID controller to solve the rule explosion problem, while improving the system dynamic performance and real-time)
    2010-04-29 09:31:20下载
    积分:1
  • diandaozengliangfa
    基于C语言的电导增量法,可以改变步长,使系统快速精确找到最大功率,很好!(The incremental conductance method, based on the C language can change step length, the system quickly and accurately find the maximum power, very good!)
    2015-07-10 20:22:04下载
    积分:1
  • test
    51单片机控制16乘以16点阵,可以显示汉字等(51 single chip control 16 times the 16 dot matrix, you can display Chinese characters, etc.)
    2016-02-20 19:39:45下载
    积分:1
  • 18b20
    c51单片机18B20+lcd1602显示 ,c51单片机18B20+lcd1602显示(18b20 for C51 and lcd1602)
    2015-11-10 12:54:53下载
    积分:1
  • lightwater
    简单的流水灯程序,另外包括按键控制led灯程序,适合初学者(Simple water lights, led lights additionally includes key control procedures, suitable for beginners)
    2013-07-15 13:27:44下载
    积分:1
  • GpibEthernetSample
    GPIB程序,该程序应用tcp协议通信,可应用GPIB连接可编程仪器,然后用上位机控制可编程仪器。(GPIB program that application tcp protocol communication, connection programmable GPIB instruments can be applied, and then use the host computer to control a programmable instrument.)
    2014-05-13 12:36:56下载
    积分:1
  • ConCard_TPE
    新中新小一卡通标准对接服务SDK,拥有它完全可以自行定制业务软件(The Synjones ConCard TPE SDK)
    2016-08-05 17:33:34下载
    积分:1
  • AGVMonitor
    AGV小车上位机控制程序,通过TCP/IP协议来进行数据的传送(AGV car PC control procedures, through the TCP/IP protocols for data transmission)
    2021-01-13 16:08:49下载
    积分:1
  • VisualCDatabaseProgramAndEx.z05
    Visual C++数据库编程与实例 pdf超高清电子版与原书光盘,非常不容易搞来的,福利来啦!200多M,只能分割,敬请见谅!主卷是VisualCDatabaseProgramAndExamples.zip,还需要下载12个分卷,此为第5分卷(Visual C++ database programming with examples pdf electronic version of ultra-high-definition optical disc with the original book, is not easy to engage in, and benefit coming! More than 200 M, only split, please forgive me!)
    2013-11-17 16:13:10下载
    积分:1
  • 04Clock
    时钟显示,在实验二的作业里面,希望对大家有用,能够帮助到大家(show the time.)
    2013-03-04 15:07:06下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载