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

Date-increment-1

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

  • serial_and_usb
    说明:  由电脑圈圈的原程序改写,使用串口3,波特率9600连接上EDNCHINa,电脑圈圈的USB开发板可以测试从串口发送到USB接收的数据,这是上位的程序,很有参考价值。下位机程序另发。(By a computer program to rewrite the original circle, use the serial port 3, connected to the 9600 baud rate EDNCHINa, the computer' s USB development board circle can test from the serial port to send data to the USB receiver, which is top of the procedure, a good reference价值. Bit machine under separate procedures.)
    2009-08-01 09:43:51下载
    积分:1
  • bindCode2008
    AppWizard has created this BindFile application for you. This application not only demonstrates the basics of using the Microsoft Foundation classes but is also a starting point for writing your application. This file contains a summary of what you will find in each of the files that make up your BindFile application.(AppWizard has created this BindFile appli cation for you. This application not only demon strates the basics of using the Microsoft Found ation classes but is also a starting point for wr iting your application. This file contains a su mmary of what you will find in each of the files th at BindFile make up your application.)
    2007-06-07 14:12:17下载
    积分:1
  • netfileexedemo
    说明:  网络文件系统,十分好的文件传输代码,非常适合初学者(Network file system, file transfer is very good code, very suitable for beginners)
    2011-03-25 00:47:09下载
    积分:1
  • MFC-tab
    MFC中的TAB控件实例编程,带TAB图标(The TAB control instance in the MFC programming with TAB ICONS)
    2021-04-20 15:08:50下载
    积分:1
  • nmo
    nmo的c程序,多层 比较简单nmo的c程序,多层 比较简单(nmo)
    2009-04-03 10:01:12下载
    积分:1
  • cricket.cpp
    this code makes us to play cricket
    2016-03-31 18:49:55下载
    积分:1
  • HIDUSB
    Windows 系统下 1.USB设备的查找: 2.发送数据到USB设备: 3.接收数据从USB设备:(Windows system 1. USB device search: 2. Send data to USB device: 3. Receive data from USB devices:)
    2008-05-27 13:26:13下载
    积分:1
  • manager
    小商品管理系统,实现商品的分录,查询,总价统计(Commodity management system, product entry, query, total statistics)
    2013-09-08 13:53:30下载
    积分:1
  • 16mesh_net_10wave_simple
    这是基于VC的16节点格型光网络的方针程序,假设每条信道有10个波长,随机产生业务请求。具体看程序,探讨请私信。路由采用Dijkstra算法,一个小例子。(this is a simulation for 16 nodes-optical net based on VC6.0.)
    2014-12-09 17:36:57下载
    积分:1
  • OPC客户端远服务器
    OPC客户端源码,可同时连接局域网内的多个OPC服务器 MFC带界面版(OPC client source code, which can connect multiple OPC servers in LAN at the same time MFC with Interface Edition)
    2021-01-06 21:28:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载