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

Date-increment-1

于 2013-05-22 发布 文件大小:1KB
0 314
下载积分: 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 个回复

  • area
    用户从键盘上输入三角形三条边的边长,计算并输出三角形的面积。(calculate the area of a triangle)
    2013-04-25 20:30:58下载
    积分:1
  • Texture-Mipmap
    基于OpenSceneGraph手动构建Miapmap,实现纹理自动Miapmap加载,可以调节纹理的精细级别~(Based on OpenSceneGraph manually build Miapmap, to achieve automatic Miapmap texture loading, you can adjust the level of the fine texture ~)
    2013-12-19 23:04:54下载
    积分:1
  • TestWindowsServer
    Windows服务的源码,实现了Windows服务的整个过程,可直接使用(Source Windows services, Windows services to achieve the whole process, and can be used directly)
    2013-11-28 10:01:18下载
    积分:1
  • UiFeature
    很好的一个界面库,基于directui的,类似QQ,希望大家能用好他。(A good interface library, based directui, similar to QQ, I hope we can better him.)
    2014-01-02 23:37:34下载
    积分:1
  • socket
    用于两台电脑之间的无线通信,一个作为客户端,另一个作为服务器。(For wireless communication between two computers, one as a client and the other as a server.)
    2014-04-21 23:00:03下载
    积分:1
  • NMM
    数值流形方法的源代码,主要由于连续和非连续变形的分析,裂纹扩展的模拟等(NMM source code, mainly due to the continuous and discontinuous deformation analysis, simulation of crack propagation)
    2020-06-26 17:00:02下载
    积分:1
  • compiler
    tiny语言的compiler,用c语言编写,可以运行通过,实现基本功能(tiny compiler by c language)
    2013-05-19 23:42:02下载
    积分:1
  • Further-analysis-WTL_-classic
    是我读过的所有讲解WTL框架最深刻的资料,向成为WTL高手必须学习它。(I' ve read all explain the WTL framework of the most profound information, it must learn to become WTL master.)
    2012-05-30 16:07:29下载
    积分:1
  • C++
    说明:  实现键盘触发叔叔,键盘任意按键停止数数,从而达到抽签的目的(The realization of the keyboard to trigger uncle, keyboard keys to stop any count, so as to achieve the purpose of drawing)
    2008-10-28 23:31:21下载
    积分:1
  • shiboqi
    频谱仪编程,对初学者很有参考意义,欢迎下载(Spectrum analyzer program, meaning a good reference for beginners, welcome to download)
    2010-07-30 23:05:23下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载