-
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
-
lcd1601
独创 基于51单片机的LCD 1601字符型显示屏的驱动程序,简单易用精简代码.(Based on the original 51 single-chip LCD 1601 Character display driver, easy-to-use to streamline the code.)
- 2008-04-05 15:17:25下载
- 积分:1
-
温湿度VB源码
说明: 温湿度串口检测程序,实现对数据的读取和检测(Temperature and Humidity Serial Port Detection Program for Data Reading and Detection)
- 2020-06-17 10:20:02下载
- 积分:1
-
TIMEROUT
*功能: 使用定时器0实现1s定时,并打开IRQ中断,控制LED闪烁
* 同时使用定时器1实现比较匹配输出(* Function: Timer 0 to achieve 1s regular and open IRQ interrupts, control LED flashes
* Achieved while using Timer 1 Compare Match Output)
- 2014-03-24 22:16:21下载
- 积分:1
-
TLS2561_STM32
STM32实现TLS2561光照度传感器的工作(failed to translate)
- 2021-05-06 21:28:37下载
- 积分:1
-
crc16_oneself
crc校验程序,采样MEGA32单片机,可以设置为查表或者计算方式(crc check program, sampling MEGA32 microcontroller, can be set to look-up table or formula)
- 2010-08-24 10:10:21下载
- 积分:1
-
4-DHCP
说明: STm32F103 w5500 dhcp
- 2020-06-22 10:40:01下载
- 积分:1
-
1303
单片机驱动的OLED显示屏,单色绿光。C语言(Single-chip-driven OLED display, monochrome green. C language)
- 2008-12-21 21:01:57下载
- 积分:1
-
SM2246EN_tu
可以通过图片制作自己想要的东西,大家可以自己制作U盘。(You can make what you want through pictures, and you can make your own U disk.)
- 2020-06-24 00:40:02下载
- 积分:1
-
Labview_PC_UART
PC与单片机通信,计算机串口读取程序,非常实用,可以实现串口数据的读数和显示(read uart com data and play it)
- 2012-03-31 23:16:40下载
- 积分:1