ELSE
共 172 篇文章
ELSE 相关的电子技术资料,包括技术文档、应用笔记、电路设计、代码示例等,共 172 篇文章,持续更新中。
pl0 文法 编译器 (1)扩充一维整型数组。 扩充var数组:VAR <数组标识名>(<下界>:<上界>)〈下界〉和〈上界〉可用常量标识名。 (2)扩充
pl0 文法 编译器
(1)扩充一维整型数组。
扩充var数组:VAR <数组标识名>(<下界>:<上界>)〈下界〉和〈上界〉可用常量标识名。
(2)扩充条件语句的功能使其为:IF<条件>THEN<语句>[ELSE<语句>]
(3)增加repeat重复语句:
REPEAT<语句>{ <语句>
点亮P10单元板单片机源程序
/*=================================================================
4扫16*16下入上出C语言程序, 低位起笔,数据反相。
预定义
**************************************************************/
#include<at89x51.h>
#include<absacc
how to add arrays * Use of const (constant) values. * Creation of vectors. * Passing
how to add arrays
* Use of const (constant) values.
* Creation of vectors.
* Passing vectors as function arguments.
* Reading from files of unknown size (monitoring istream status)
There are _NO_ standard sample rate for the samples used in modules. But most often the samples are
There are _NO_ standard sample rate for the samples used in modules.
But most often the samples are done on the rate called C-3 (which is
about 16574 Hz if you have a PAL machine). Sometimes drums a
c语言算法排序
<p class="MsoNormal" style="margin-left:18.0pt;text-indent:-18.0pt;">
1.Describe a <span class="unicode">Θ</span>(<i>n</i> lg <i>n</i>)-time algorithm that, given a set <i>S</i> of <i>n</i> integers
//获得当前的模式 oldmode = vga_getcurrentmode[] //初始化 vga_init[] //判断是否支持该模式 if[vga_ha
//获得当前的模式
oldmode = vga_getcurrentmode[]
//初始化
vga_init[]
//判断是否支持该模式
if[vga_hasmode[mode]]
vga_setmode[mode]
else {
printf["No such mode\n"]
exit[1]
}
利用java实现文件的AES加密功能 This Java AES Crypt package contains the Java class es.vocali.util.AESCrypt, whi
利用java实现文件的AES加密功能
This Java AES Crypt package contains the Java class es.vocali.util.AESCrypt, which provides file encryption and decryption using aescrypt file format.
Requirements
The Java AES
对pl0的功能扩充 += -= -- for else
对pl0的功能扩充 += -= -- for else
PLO源码(c++buider)编译原理课程设计 已经添加了++ += else if >= <= 等字符
PLO源码(c++buider)编译原理课程设计 已经添加了++ += else if >= <= 等字符
TM1638驱动显示例程
#define TM1638_STB PORTC_Bit1<br />
#define TM1638_CLK
int main(int argc,char *argv[]) { char ch while(true) { printf("*************************
int main(int argc,char *argv[])
{
char ch
while(true)
{
printf("*************************************\n")
printf(" 1.Reader Priority\n")
printf(" 2.Writer Priority\n")
printf("
//Euler 函数前n项和 /* phi(n) 为n的Euler原函数 if( (n/p) % i == 0 ) phi(n)=phi(n/p)*i else phi(n)=phi(n/p
//Euler 函数前n项和
/*
phi(n) 为n的Euler原函数
if( (n/p) % i == 0 ) phi(n)=phi(n/p)*i
else phi(n)=phi(n/p)*(i-1)
对于约数:divnum
如果i|pr[j] 那么 divnum[i*pr[j]]=divsum[i]/(e[i]+1)*(e[i]+2) //最小素因子次数加1
否则 di
学生成绩管理啊
#include "string.h"<br />
#include "ctype.h"<br />
#include "stdio.h"<br />
search(char pd[])<br />
{FILE *fp;<br />
int time=0,i=0,j=0,add[80],k=0,m;<br />
char *ch,<br />
str[900];
学生成绩查询
#include "string.h"
#include "ctype.h"
#include "stdio.h"
search(char pd[])
{FILE *fp;
int time=0,i=0,j=0,add[80],k=0,m;
char *ch,
str[900];
m=strlen(pd);
if((fp=fopen("haha.txt","r"))==NULL)
{
运动会源代码
<ol class="dp-cpp">
<li>
<span><span class="preprocessor">#include <malloc.h> </span><span> </span></span>
</li>
<li>
<span></span><span class="preproces
利用栈的基本操作实现将任意一个十进制整数N转化为R进制整数。
#include <stdlib.h><br />
#include<stdio.h><br />
#include <malloc.h><br />
#define stack_init_size 100<br />
#define stackincrement 10<br />
typedef struct sqstack<br />
{<br />
int
河內塔問題 #include<stdio.h> #include<stdlib.h> int fun_a(int) void fun_b(int,int,int,in
河內塔問題
#include<stdio.h>
#include<stdlib.h>
int fun_a(int)
void fun_b(int,int,int,int)
int main(void)
{
int n
int option
printf("題目二:河內塔問題\n")
printf("請輸入要搬移的圓盤數目\n")
批处理感知器算法
<p>
批处理感知器算法的代码matlab
</p>
<p>
w1=[1,0.1,1.1;1,6.8,7.1;1,-3.5,-4.1;1,2.0,2.7;1,4.1,2.8;1,3.1,5.0;1,-0.8,-1.3;<br />
1,0.9,1.2;1,5.0,6.4;1,3.9,4.0];<br />
w2=[1,7.1,4.2;1,-1.4,-4.3;1,4.
private double PointToAngle(Point AOrigin, Point APoint) { if (APoint.X == AOrigin.X) if (APoin
private double PointToAngle(Point AOrigin, Point APoint)
{
if (APoint.X == AOrigin.X)
if (APoint.Y > AOrigin.Y)
return Math.PI * 0.5f
else return Math.PI * 1.5f
else if (APoint.Y == AO
private double PointToAngle(Point AOrigin, Point APoint) { if (APoint.X == AOrigin.X) if (APoin
private double PointToAngle(Point AOrigin, Point APoint)
{
if (APoint.X == AOrigin.X)
if (APoint.Y > AOrigin.Y)
return Math.PI * 0.5f
else return Math.PI * 1.5f
else if (APoint.Y == AO