-
Date
用整数存储私有成员:年、月和日。为类提供构造函数,能够对各成员进行初始
化,但出现错误的初值时, 成员为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)
- 2012-11-22 11:18:18下载
- 积分:1
-
chuankou
单片机串口发送程序,试一次课设做的,非常非常好用(Chip serial transmission program, try again Lesson set, very, very easy to use)
- 2013-06-05 00:13:11下载
- 积分:1
-
MPU9250
A program for reading data mpu9250 sensor
- 2016-09-22 21:14:40下载
- 积分:1
-
Sin_Signal_Producing
正弦信号发生程序。使用声卡产生正弦信号输出,可以用来调音!(Sinusoidal signal procedures. Sinusoidal signal generated using the sound card output, can be used to tuning!)
- 2007-11-29 09:05:29下载
- 积分:1
-
1
说明: 图像处理程序,单片机嵌入式,FFT算法(Image processing procedures, single-chip embedded, FFT algorithm)
- 2008-04-24 15:48:43下载
- 积分:1
-
5110
实现5110液晶图像、文字、字符 、反转、数字显示(5110 LCD achieve images, text, characters, reverse, digital display)
- 2013-07-30 14:01:42下载
- 积分:1
-
51andNANDFlash
51单片机控制NAND Flash读写程序,编译环境vc++,可根据flash不同做稍加修改,即可实现功能要求(51 single-chip NAND Flash read and write procedures, compile environmental vc++, according to flash a little modified)
- 2012-04-25 11:00:41下载
- 积分:1
-
smart_car
智能小车寻黑线测试程序,经典资料!电子设计大赛 小车(Smart car found black line test program, the classic material!
)
- 2013-06-20 15:38:38下载
- 积分:1
-
CAN
STM32F405 CAN程序,亲测可用(forSTM32F405 project itis OK)
- 2016-01-01 09:33:01下载
- 积分:1
-
chengxu
ad转换的程序,c8051f021老程序,18B20测温00,抢答器程序,pwm_pac.c。(ad conversion process, c8051f021 old procedures, 18B20 temperature 00, Answer program, pwm_pac.c.)
- 2007-09-03 22:22:12下载
- 积分:1