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

Date-increment-1

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

  • Roses
    去年情人节写的一个程序。设计场景:在漫天玫瑰飘洒之下,对尔之祝福姗姗而来。(a program to make your girl happy!I hope this is useful to you.)
    2012-09-01 03:09:48下载
    积分:1
  • ShutWindow
    在安装应用程序的过程中有时需要实现关闭或重启计算机的功能。本实例将介绍如何用Visual C++控制计算机的关机和重启。(In the process of installing the application is sometimes necessary to achieve the shut down or restart the computer functions. This example describes how to use Visual C++ control computer shutdown and restart.)
    2009-12-12 00:45:57下载
    积分:1
  • EtherNetIPExampleCode
    基于EthernetIP协议的应用程序,可以读取AB公司Controllogix系列Ethernetip协议PLC数据. 此软件代码可用于工业控制.(EthernetIP agreement based on the application, the company can read AB ControlLogix PLC data series Ethernetip agreement. This software code can be used for industrial control.)
    2020-11-21 22:19:36下载
    积分:1
  • SPP
    GPS单点定位程序 本程序采用C++编写的GPS卫星定位程序(GPS single point positioning procedures used in this procedure C++ The preparation of the GPS satellite positioning procedures)
    2008-06-07 10:09:02下载
    积分:1
  • fluidsD3D9
    An example of fluid simulation using CUDA and CUFFT, with Direct3D 9 rendering.
    2009-09-11 18:26:49下载
    积分:1
  • CPP_Socket
    windows客户端与服务器之间的网络通信代码(windows between the client and server network communications code)
    2013-07-11 23:32:54下载
    积分:1
  • New
    RFID 的实用例子,登陆使用了标准动态库类(Practical examples of RFID, landing the use of a standard type of dynamic libraries)
    2008-02-03 14:29:19下载
    积分:1
  • CChartDll
    CChart,国产精品数据可视化控件,基于Win32API,功能强大。网上已有系列教程,使用异常简单。(CChart, made quality data visualization controls, based on Win32API, and powerful. Existing series of tutorials online, very simple to use.)
    2013-09-27 21:33:33下载
    积分:1
  • COMTestCode
    vc环境下COM组件编程小例子,一个文件生成COM组件,另一个文件调用该COM组件。(COM component programming small example, a file generated COM component vc environment, another file to call the COM component.)
    2013-12-19 16:21:03下载
    积分:1
  • HDR
    说明:  處理高動態範圍程式碼 主要將數張圖片合成出一張HDR圖片(Code dealing with high dynamic range)
    2011-04-14 12:34:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载