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

Date-increment-1

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

  • netcommunity
    说明:  Socket是建立网络连接时使用的。在连接成功时,应用程序两端都会产生一个Socket实例,操作这个实例,完成所需的会话。(Socket is used when a network connection. The connection is successful, the application will have a Socket instance ends, the operation of this example, the completion of the required sessions.)
    2010-04-02 11:29:45下载
    积分:1
  • spy_fileio_src
    说明:  spy++的一个小例子,涉及Vxd操作和DDK编译(spy++ a small example, involving the operation and DDK compiler Vxd)
    2008-10-25 10:08:51下载
    积分:1
  • Draw
    说明:  改程序可画一个扇形(MFC) 改程序可画一个扇形(MFC) 改程序可画一个扇形(MFC)(The program is to draw a sector)
    2011-03-08 20:22:11下载
    积分:1
  • SIS
    ASP.NET关于就业系统设计的源码,很详尽,注释清晰,容易学习(Employment System)
    2013-11-10 21:05:57下载
    积分:1
  • matlab
    受阻力的球体运动轨迹程序,阻力与运动方向相反,满足阻力方程(By the resistance of the ball trajectory program, drag, and opposite to the direction of movement, and to meet the resistance equation)
    2012-10-25 15:48:04下载
    积分:1
  • covpliwr
    简单的学籍管理系统 可以基本完成录入导出 学生的信息,不错(Simple student status management system can basically complete the input and export of student information, good)
    2018-12-05 12:45:29下载
    积分:1
  • HO
    说明:  本资料是WENCE的重要技术是不可多带的资料 希望对嵌入式技术的人员有所帮做(This information is important WENCE technology is multi-band data can not hope to embedded technology has helped the staff to do)
    2007-11-14 09:02:45下载
    积分:1
  • xsh_reverse
    shell命令其中一部分,可以实现把整数字符串反转的功能。(reverse the string of integers)
    2013-11-23 06:45:38下载
    积分:1
  • 86585686799
    CDtoWAVE转换器,VC++经典编程源码,很好的参考资料。(The CDtoWAVE converter, VC++ classic programming source code, a good reference.)
    2013-11-15 10:24:53下载
    积分:1
  • 20105610477041
    说明:  VC++ 通过ODBC读写Excel文件 资源类别: VC源码¦数据库 (VC++ to read and write Excel files via ODBC resource categories: VC database source &brvbar )
    2011-03-30 21:41:47下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载