登录
首页 » Visual C++ » Date-increment-1

Date-increment-1

于 2013-05-22 发布 文件大小:1KB
0 186
下载积分: 1 下载次数: 2

代码说明:

  自定义一个简单的日期类DateType,它具有数据成员y、m、d,用来表示当前日期的年、月、日。而后设计该类欲实现(完成)的功能,进而设计出相应的类成员函数。   例如,下面给出的“雏形”可用来实现对天的增加,比较两个日期是否相等,以及对日期的输出等操作。请完成各类成员函数,并编制主函数,说明DateType类对象,对定义的各成员函数进行调用,以验证它们的正确性。 (Customize a simple date class DateType, it has a data member y, m, d, is used to indicate the current date, month, and day. To achieve the latter design class (complete) function, and then design the appropriate class member functions. For example, the following is the " prototype" is used to achieve the increase of day, compare two date are equal, and the output of dates and other operations. Please complete all kinds of member functions, and prepare the main function, indicating DateType class object for each member function definition be called to verify their correctness.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Uniway
    可以将Protel PCB电路板中的元件个数,封装,规格查找出来并归类生成一个EXCEL的物料清单。(Protel PCB can board the number of components, packaging, specifications to find out and classified material to generate a list of EXCEL.)
    2007-11-07 22:15:28下载
    积分:1
  • 101n
    101规约程序代码说明,较为详细的101标准电力通讯规约代码。(101 protocol)
    2020-08-18 14:38:21下载
    积分:1
  • linjiequ
    使用类编程实现临界区,VC++网络编程,使用VC6.0编译器实现(Use class programming critical, VC++ network programming, using VC6.0 compiler implements)
    2013-07-14 22:29:26下载
    积分:1
  • CAT
    CAT系统中的自动化技术软件实现CAT system automation software(CAT system automation software)
    2011-06-06 09:23:51下载
    积分:1
  • DS_hw1
    Simple recursive function test
    2012-06-10 13:27:23下载
    积分:1
  • VCPPread-large-file
    VC++读写大文件资料(二进制),VC6编译通过,平时我们用词本打开大量文本的时候,会发觉电脑很慢甚至死机,不是因为文件太大,而是因为记事本的简单而未进行大文件打开处理,才会出现这种情况,希望这个VC小实例能启发你一些灵感。(VC++ read large documents (binary), VC6 compiler, usually we open a large number of words of the text, you will find the computer very slow or even crash, not because the file is too large, but because of a simple notepad without large file open process, there is this hope that this VC small example can inspire you some inspiration.)
    2016-11-14 09:14:24下载
    积分:1
  • client
    数据库监视备份软件客户端通信软件广播状态参数 当前的主库(DWORD)+当前的状态(DWORD) (Database to monitor the backup software client software radio communication parameters the current state of the main library (DWORD)+ Current status (DWORD))
    2007-08-16 21:40:57下载
    积分:1
  • DemoBCGPrj
    一个使用用BCG库创建的demo工程,其中包括工作区,类似于一个小IDE(A use of BCG database created with demo projects, including work area, similar to a small IDE)
    2008-01-25 09:35:12下载
    积分:1
  • PTZ
    ptz 云台控制软件, 内带C++ 源码(ptz PTZ control software, which brought C++ source)
    2013-07-27 14:58:53下载
    积分:1
  • remote
    又一个类似PCAnywhere的远程控制软件源码,分客户端和服务器端。( A similar PCAnywhere long-distance control software source code, is divided the customer end and the server end. )
    2020-06-26 12:00:02下载
    积分:1
  • 696518资源总数
  • 105584会员总数
  • 19今日下载