-
11
说明:
广告流水灯程序
ORG 00H
MOV P2,#80H
START:MOV A,#0FFH 赋初值
CLR C
MOV R2,#8
LOOP:RRC A 带进位右移
MOV P1,A
CALL DELAY
DJNZ R2,LOOP
MOV R2,#7
LOOP1:RLC A 带进位左移
MOV P1,A
CALL DELAY
DJNZ R2,LOOP1
JMP START
DELAY:MOV R3,#20 延时0.2秒
D1: MOV R4,#20
D2: MOV R5,#248
DJNZ R5,$
DJNZ R4,D2
- 2012-11-22 13:22:07下载
- 积分:1
-
dct
用MATLAB实现图像的离散余弦变换,程序运行结果表明离散余弦变换能够起到压缩图像的目的。(in order to compress the bite of pictur,the program use the DCT to compress.)
- 2011-09-02 20:56:43下载
- 积分:1
-
crystal-reports-manual-2
book on programming in crystal report
- 2014-11-22 01:27:58下载
- 积分:1
-
Pallecant
方程求根的matlab程序,用的是平行法则,仅供参考(Roots of the equation matlab program, using a parallel rule, for reference only)
- 2011-09-27 10:41:43下载
- 积分:1
-
Introduction-to-Algorithms
《算法导论》,是一本十分经典的计算机算法书籍,与高德纳(Donald E.Knuth)的《计算机程序设计艺术》(《The Art Of Computer Programming》)相媲美。 《算法导论》由Thomas H.Cormen、Charles E.Leiserson、Ronald L.Rivest、Clifford Stein四人合作编著(其中Clifford Stein是第二版开始参与的合著者)。本书的最大特点就是将严谨性和全面性融入在了一起。(原书名——《Introduction to Algorithms》)
- 2013-05-07 10:53:05下载
- 积分:1
-
FANYI
关于恶意代码检测和LTE网络,4G的LTE-A网络的外语文章的翻译论文(Foreign-language article about malicious code detection and lte network, lte-a network of 4g)
- 2014-01-02 18:09:59下载
- 积分:1
-
6_1
1. 定义一个抽象学生类CStudent,它具有公有成员函数Average(),该函数用于计算学生的平均分,函数为虚函数;定义一个文科学生类CStudentLiberalArts,它是类CStudent的派生类,并以公有方式派生,它具有的成员有:
1) 保存英语、政治、数学、地理和历史、美术成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
定义一个理科学生类CStudentScience,它是类CStudent的派生类,并以公有方式派生,它具有的成员为:
1) 保存英语、物理、数学、化学和计算机、程序设计成绩的整形成员变量;
2) 设置上述变量的公有成员函数;
3) 输出上述变量的公有成员函数;
4) 公有的成员函数Average()用于计算学生的平均分;
编写主函数,并测试以下内容:
1) 定义一个CStudent的指针数组pStu,数组长度为4;
2) 动态创建2个文科学生的对象,地址存于pStu数组的0-1个元素内;
3) 动态创建2个理科学生的对象,地址存于pStu数组的2-3个元素内;
4) 利用while循环调用数组里每个元素的计算平均成绩操作;
释放动态分配的空间,确保必要的析构函数能被调用。
(1 define an abstract class student CStudent, it has a public member function Average (), this function is used to calculate the student s average points function as virtual function definition of a liberal arts student class CStudentLiberalArts, it is the class CStudent derived class, and public be derived, which has members are:
1) Save English, shaping member variables politics, mathematics, geography and history, art achievements
2) Set the above variables public member function
3) public member function of the output of the variable
4) public member function Average () is used to calculate the average student s points
The definition of a science student class CStudentScience, it is the class CStudent derived class, and public manner derived, which has members as follows:
1) Save English, physics, mathematics, chemistry and computer programming achievement shaping member variables
2) Set the above variables public member function
3) public member function of t)
- 2014-10-20 15:29:16下载
- 积分:1
-
S1236_abdq_10a
matalab similink 坐标变换 仿真建模(matalab similink ab to dq0 simulation)
- 2012-11-11 16:37:31下载
- 积分:1
-
matlab
matalab 实验案例 c++ 积分(matlab you can use it for your maths)
- 2012-05-22 20:45:47下载
- 积分:1
-
GCP
GCP是地面控制点的缩写,主要是处理地面控制点的类,包括控制点的读取处理以及写出。(GCP is an acronym for ground control points, mainly handling ground control points, including read and write process control points.)
- 2014-02-25 11:53:44下载
- 积分:1