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

Date-increment-1

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

  • ParallelPortControl
    这是WinIo.dll的一个使用实例,用VC++实现计算机并行端口数字信息的输入与输出,演示程序包括了常用的获取信息、发送信息的程序示例。(This is a WinIo.dll use of examples, using VC++ to achieve digital information the computer parallel port input and output, including presentation of the commonly used procedures to obtain information, send a message of the program sample.)
    2009-07-16 20:56:56下载
    积分:1
  • 在VC++6.0中用MSComm控件,可以实现串口接
    在VC++6.0中用MSComm控件编程,可以实现串口接(used in VC 6.0 MSComm programming, serial port access can be achieved)
    2005-01-04 04:01:12下载
    积分:1
  • BOMBMAN
    WINDOS FUNCTION LINKED LIST
    2013-04-16 19:51:25下载
    积分:1
  • 62
    说明:  大灰狼远程控制系统高仿8.62小马白加黑源码!过启动/过网购/过拦截/无提示上线(The Wolf remote control system of high imitation 8.62 pony white and black source! Before to start/shopping/interception/no tips online)
    2017-04-19 13:55:27下载
    积分:1
  • adhoc-network
    对学习AD HOC网络很有帮助的一些电子文档,可以了解此网络的基本原理和一些协议之间的比较,以及改进。大家看看肯定会有所帮助哦(The study of electronic document helpful AD HOC network)
    2012-03-10 20:31:57下载
    积分:1
  • DirectDraw1
    说明:  DirectDraw编程方法与技巧.pdf(DirectDraw programming methods and techniques. Pdf)
    2008-09-04 23:54:32下载
    积分:1
  • cPPredgreenblue
    c++设计一个窗口显示红、绿、蓝的颜色,以及确定和取消按钮。(The c++ design of a window display of red, green, blue, and OK and cancel buttons.)
    2014-04-30 16:44:42下载
    积分:1
  • WINSOCK-UDP
    基于VC++ 6.0 Winsock+UDP 广播信息源码(Based on VC++ 6.0 Winsock+ UDP broadcast source)
    2011-09-22 21:10:05下载
    积分:1
  • qhull
    主要介绍了如何在vs2010中使用qhull库以及环境变量配置问题(The project mainly focus on how to set the envirenment variable of qhull library in vs2010)
    2021-03-03 16:59:32下载
    积分:1
  • VC-part-2
    一本学习VC的很好的图书,其中第二部分,全书共16部分(A learning VC' s good books, of which the second part of the book, Part 16)
    2012-06-04 17:11:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载