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

Date-increment-1

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

  • RXJH
    热血江湖私服游戏登录工具可以简单的解决上号问题(Rèxuè jiānghú sīfú yóuxì dēnglù gōngjù kěyǐ jiǎndān de jiějué shàng hào wèntí)
    2017-02-23 17:11:22下载
    积分:1
  • MYKTV
    本KTV包括前端,后台,以及数据库。虽然是简洁版 但是可以参考其中的代码源,能够帮助我们少走弯路(This KTV includes front end, backstage, and database.)
    2017-12-11 20:32:29下载
    积分:1
  • 26-control-example-the-source-code
      26个VC++界面编程通用控件源代码实例:   如何获得指定点的控件指针   如何将编辑框中输入的字符转换为大写(小写)   如何设置和获得单选按钮的选中状态   如何设置和获得一组单选按钮的选中状态   如何设置列表控件的显示方式   如何设置组合框中列表框的宽度   如何实现带自动完成功能的组合框   如何实现位图按钮   如何使用滑块   如何使用进度条   如何使用列表框   如何使用旋转按钮   如何使用组合框   如何通过控件ID获得控件窗口指针   如何为控件添加工具提示   如何通过控件窗口指针获得控件ID   如何为控件添加工具提示   如何限制编辑框输入文本的长度   如何在按钮上显示图标   如何在列表控件中插入列   如何在列表框中添加水平滚动条   如何在组合框中显示文件列表 (26 a vc++ programming interface general control source code examples: How to get control of the pointer designated point How to edit box in of the input characters into capital (small) How to set up and get radio buttons selected state How to set up and get a group of selected state radio button How to set up the list control showing the way How to set up combo boxes the width of the list box How to realize the combination of complete function with automatic box How to realize a bitmap button How to use the slider How to use the progress bar How to use the list box How to use the rotating button How to use the combination box How to get control via the control ID window pointer How to add the tooltip control How to get control via the control window pointer ID How to add the tooltip control How to limit the length of the input text edit box How to button on the display icon How to insert listed in a list co)
    2011-06-28 16:05:44下载
    积分:1
  • LNode
    1、 随机产生或键盘输入一组元素,建立一个带头结点的单向链表(无序)。 2、 遍历单向链表。 3、 把单向链表中元素逆置(不允许申请新的结点空间)。 4、 在单向链表中删除所有的偶数元素结点。 5、 编写在非递减有序链表中插入一个元素使链表元素仍有序的函数,并利用该函数建立一个非递减有序单向链表。 6、 利用算法5建立两个非递减有序单向链表,然后合并成一个非递增链表。 7、 利用算法5建立两个非递减有序单向链表,然后合并成一个非递减链表。 8、 利用算法1建立的链表,实现将其分解成两个链表,其中一个全部为奇数,令一个全部为偶数(尽量利用已知的存储空间). 9、 利用单向链表实现一元多项式的存储并实现两个多项式相加并输出结果。 10、 在主函数中设计一个简单的菜单,分别调试上述算法。 (visual c)
    2009-03-26 10:10:27下载
    积分:1
  • Interpolation-Technique-for-WZVC
    The manuscript describes performance comparison of nearest-neighbor interpolation and bilinear to reduce the complexity of decoder WZVC.
    2013-10-03 21:35:41下载
    积分:1
  • complex
    c++实现的复数类及其运算符,包括加减乘除等符号重载,包括复数与实数、复数与复数之间的各种运算。(class complex by C++)
    2015-03-03 21:50:55下载
    积分:1
  • nkNbianma
    这是卷积码的编程程序,采用了先构造网格图,然后沿着网格图查找到方法(This is a convolution code programming procedure, the first constructed grid map, and then along the trellis to find methods)
    2012-07-04 14:00:46下载
    积分:1
  • ahare
    这是一个装载问题的的程序,很好用的源码,与你共同分享(This is a loading problem of the program, very easy to use the source code, with you to share)
    2018-12-02 16:11:07下载
    积分:1
  • SSHClient
    Windows系统下,SSH加密机制,用户身份认证代码,主要用于检测用户弱口令。(Windows OS,SSH encrypt,check the user s password on line.)
    2013-11-12 17:01:31下载
    积分:1
  • paixu105
    有n个整数,使其前面各数顺序向后移m个位置,最后m个数变成最前面的m个数(There are n integers to the order of the preceding few months m backward shift position, the final number m into the top of the number of m)
    2016-02-27 23:43:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载