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

Date-increment-1

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

  • 带ID的lpc2368 CAN通信
    带ID的lpc2368 CAN通信,包括初始化、中端、CAN通信和串口通信(With the ID lpc2368 CAN communications, including initialization, in the end, CAN communications and serial communication)
    2020-07-03 08:40:01下载
    积分:1
  • ProgrammingMicrosoftDirectshow
    学习dshow的好书籍,,即提高英文水平,也提高编程水平(learning dshow good books, that the standard of English, it also raises the level of programming)
    2007-01-09 14:05:51下载
    积分:1
  • CPP-Primer--Fifth-Edition
    C++ Primer the fifth edition
    2012-12-06 09:43:08下载
    积分:1
  • area
    定义一个基类MyGraph,要求有一个纯虚函数double Area()=0。从基类派生一个圆类Circle和矩形类Rectangle,再由Rectangle类派生出Square类,分别给出Area()实现。 重载“>>”,实现对图形信息的输入。在主函数中计算三种形状的面积,并显示输出。 (Define a base class MyGraph, requires a pure virtual function double Area () = 0. Derive a circle and a rectangle class Rectangle Circle class from the base class, and then by Square Rectangle class derived class, are given Area () implementation. Reload " > > " to achieve the input of graphical information. Calculate the shape of the three main functions in the area, and display output.)
    2014-02-07 23:13:19下载
    积分:1
  • anywhere
    一个类似PCAnywhere的远程控制软件源码,分客户端和服务器端。( A similar PCAnywhere long-distance control software source code, is divided the customer end and the server end. )
    2020-06-26 12:20:02下载
    积分:1
  • MiNiplayer_zl
    说明:  迷你播放器,采用C++开发,支持多种播放多媒体文件,非常好用的一个迷你播放器。(Mini player, using C++ developers to support multiple broadcast multimedia files, very easy to use as a mini player.)
    2010-04-26 16:34:28下载
    积分:1
  • sale
    c#编写的销售管理系,合适初学者,好好的例子(c# write sales management system, suitable for beginners, a good example)
    2014-04-09 17:59:10下载
    积分:1
  • PStechnology
    详细介绍了ps的基础技巧,让你从小白成为ps高手迈出了第一步。(Details of the ps of basic skills, so that you become ps from the white master the first step.)
    2013-12-28 20:40:28下载
    积分:1
  • poly
    一个简单的poly实系数一元项式问题的一个简单的解法,希望对大家有帮助!(A simple coefficient of poly is a dollar-type problem of a simple solution, and they hope to help everyone!)
    2008-04-18 10:21:35下载
    积分:1
  • STR
    structures for rf online 2/2/3 server
    2010-06-05 13:52:20下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载