登录
首页 » Visual C++ » Date

Date

于 2012-11-22 发布 文件大小:173KB
0 236
下载积分: 1 下载次数: 8

代码说明:

  用整数存储私有成员:年、月和日。为类提供构造函数,能够对各成员进行初始 化,但出现错误的初值时, 成员为2000-1-。也可以不在不提供任何初值的情况 下日期为2000-1-1。另外可以用一个Date 对象进行初始化,成员函数应实现以 下功能: (1) 对所有成员一次性赋值,也能对某个成员单独赋值,能够一次返回所有成 员的值,也能单独返回某个成员的值 (2) 可以按照mm-dd-yyyy 格式输出日期。 (3) 有成员函数nextDay(),用于将日期增加一天(Integer stored the private Members: year, month, and day. Class provides a constructor to initialize the members, but the wrong initial value, members 2000-1-. The date can also be not the case does not provide any initial value 2000-1-1. Also available on a Date object is initialized, the member function should achieve the following functions: (1) all members of the one-time assignment, can also be a member of a separate assignment, to return once the value of all the members, but also separate return a The members of the value (2) according to the date of mm-dd-yyyy format output. (3) member function nextDay () for additional day date)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • XMT_USB_VC6
    哈尔滨芯明天科技XE517系列压电陶瓷控制器配套上位机软件的开发例程,这个版本是VC6开发。发布时需要拷贝debug目录中的头文件和动态库文件到*.exe文件目录中。(Harbin XMT XE517 series of piezoelectric ceramic controller supporting PC software development routines, this version is VC6 development. When you need to copy the directory publishing debug header files and dynamic library files to*. Exe file directory.)
    2021-01-04 09:18:55下载
    积分:1
  • 20121121SELECTIO
    一个典型的Select IO 模型实例源代码,供大家参考使用,要下从速!(A typical model Select IO source code examples for your use and reference to the next as soon as possible!)
    2012-11-21 12:42:50下载
    积分:1
  • ADAMS_Car
    通过isight-fd集成adams的动力学仿真能力,将模型中的某些属性作为优化变量,通过对adams仿真结果的分析,来对这些属性进行优化(By isight-fd dynamics simulation capabilities integrated adams will model some of the attributes as optimization variables by adams simulation analysis to optimize these attributes)
    2021-02-15 12:49:48下载
    积分:1
  • 1602
    说明:  用4*4矩阵键盘给液晶1602送四位数,其中第四行按键设置为功能键,按键显示可调对应位的数字(With 4* 4 matrix keyboard to send the four-digit LCD 1602, the fourth line of buttons is set to function keys, adjustable button displays the corresponding number of bits)
    2009-08-29 13:21:16下载
    积分:1
  • TimerRD_PWM
    单片机的计时器PWM模式实例代码,希望给相关的人员带来帮助。(Single chip timer mode PWM code examples, hope to the related personnel to bring help. )
    2011-12-21 11:26:01下载
    积分:1
  • DS1302
    例子\Proteus经典例子和中文资料 8051(Examples of classic examples of Proteus and Chinese information 8051)
    2008-08-11 14:38:47下载
    积分:1
  • 12864
    点阵液晶屏的参考程序,内置菜单动能,大家可以研究一下(Dot matrix LCD screen reference program, built-in menu kinetic energy, we can look)
    2011-11-11 18:53:23下载
    积分:1
  • ceping
    可实验0.5KHZ到10KHZ的简单测频,并由数码管显示出来!(Experimental 0.5KHZ can be simple to 10KHz frequency measurement by digital tube display!)
    2016-02-15 23:27:00下载
    积分:1
  • DAC
    STM32F407信号发生器输入一个正弦波,AD采样,DA输出,系统频率应该是输入的波形的频率的10倍以上保证输出波形的完整性,系统的输出频率可以使用示波器测试出。(Stm32f407 signal generator input a sine wave, AD sampling, Da output and system frequency should is 10 times the frequency of the input waveform to guarantee that the above output waveform of integrity, the output frequency of the system can use oscilloscope to test out. )
    2021-02-06 15:19:57下载
    积分:1
  • DataAdapter
    使用DataAdapter对数据库进行操作 将SQL-search.aspx程序可改为使用DataAdapter对数据库进行操作. 程序使用"Dim objAdapt As New OleDbDataAdapter(strcmd,objCon)"创建了DataAdapter对象。(Use DataAdapter to operate the database The SQL-search.aspx program can be changed using the DataAdapter to operate the database. The program uses "Dim objAdapt As New OleDbDataAdapter (strcmd, objCon)" Creating a DataAdapter object. )
    2013-12-27 21:39:40下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载