public class month1{ public static void main(String [] args){ int month = 10 int days = 0 switch(month){ case 1: days = 31 case 2: days = 28 case 3: days = 31
上传时间: 2014-08-26
上传用户:chenbhdt
基于单片机的10根线束线缆检测器的源程序 #pragma sfr #pragma DI #pragma EI #pragma NOP //#pragma interrupt INTTM010 isr_INTTM000 #pragma interrupt INTTM80 isr_INTTM80 //#pragma interrupt INTTMH1 isr_INTTMH1 #pragma section @@CNST OPT AT 80H const char OPTION=0x94 typedef unsigned char uchar typedef unsigned int uint //==PORT DEFINE== #define SEND1_P P4.1 #define SEND2_P P4.2 #define SEND3_P P4.3 #define SEND4_P P4.4 #define SEND5_P P4.5 #define SEND6_P P4.6 #define SEND7_P P4.7 #define SEND8_P P13.0 #define SEND9_P P2.3 #define SEND10_P P2.2
标签: pragma interrupt INTTM 010
上传时间: 2017-05-25
上传用户:sunjet
描述 Sramoc ( K , M ) 表示用数字0、1、2…、K-1组成的自然数中能被M整除的最小数。给定 K、M,求Sramoc ( K,M )。例如 K=2,M=7的时候,Sramoc( 2 , 7 ) = 1001。 输入 第一行为两个整数K、M满足2<=K<=10、1<=M<=1000。 输出 输出Sramoc(K,M)。 样例输入 2 7 样例输出 1001
上传时间: 2017-06-26
上传用户:亚亚娟娟123
W29C040(512K FLASH)读写程序2007-09-10 11:16很是激动,去年用AT89S52捣弄了半年也没搞定,这次换成C8051f040,也不知道是天见我可怜还是狗运,终于把数据写进去了。想当时到处找的程序都没用,郁闷非常,这次走运成功,拿出来晒晒太阳(虽然也是该的别人的程序,但是好歹能用)。 /*W29C040(512K FLASH)读写程序*/ #include <c8051f040.h> #include <INTRINS.h> #include <absacc.h> sbit E=P1^0
上传时间: 2017-07-03
上传用户:wff
中国移动通信CMPP2.0短消息网关模拟器V1.10
上传时间: 2017-07-08
上传用户:zhuoying119
The code for this article was written for version 1.0 of the Active Template Library (ATL). The current version of the code (in SieveATL) was built with Visual C++ 6.0 and the ATL provided with that compiler. It may be slightly different than the code shown in the article. The directory SieveMFC contains an MFC version of a component equivalent to the ATL version discussed in the article. It was built with version 5 of the C++ compiler and the MFC version provided with it. The code discussed in the article was later adapted for Hardcore Visual Basic, Second Edition. Comparable Visual Basic versions are discussed in Chapter 10 of the book. Bruce McKinney
上传时间: 2013-12-01
上传用户:古谷仁美
This M-File imports data from binary *.dat files, created with PSpice 6.0 (DOS), 9.1 (Student), and 10.0.3. If you are using newer versions of PSpice, you might need to adjust the code.
标签: Student imports created M-File
上传时间: 2017-07-28
上传用户:zsjinju
产生编码解码时使用的clk_1以及频率为它31倍的clk_31信号。 //产生M序列的发送信号indata(随机),并且将接收到的解码信号(decode)进行比较。 //发送的头10个信号为1,第11个为0,在解码的开始时期进行同步判断时用到。
上传时间: 2014-01-10
上传用户:gonuiln
et6202控制2*10键盘,LED数码管显示从0到9依次扫描显示
上传时间: 2017-07-31
上传用户:er1219
《PowerBuilder 10.0 应用基础与实例教程》-李政-电子教案
标签: PowerBuilder 10.0 教程 电子教案
上传时间: 2014-11-22
上传用户:拔丝土豆