虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

else

  • void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(

    void insert_sort(int *a,int n) { if(n==1) return insert_sort(a,n-1) int temp=a[n-1] for(int i=n-2 i>=0 i--) { if(temp<a[i]) a[i+1]=a[i] else break } a[i+1]=temp }

    标签: insert_sort int return void

    上传时间: 2014-01-22

    上传用户:banyou

  • 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(" 3.Exit to Windows\n") printf("*************************************\n") printf("Enter your choice(1,2,3): ") do{ ch=(char)_getch() }while(ch!= 1 &&ch!= 2 &&ch!= 3 ) system("cls") if(ch== 3 ) return 0 else if(ch== 1 ) ReaderPriority("thread.dat") else WriterPriority("thread.dat") printf("\nPress Any Key to Coutinue:") _getch() system("cls") } return 0

    标签: char int printf while

    上传时间: 2017-01-06

    上传用户:gonuiln

  • Introduction Computer security is undeniably important, and as new vulnerabilities are discovered a

    Introduction Computer security is undeniably important, and as new vulnerabilities are discovered and exploited, the perceived need for new security solutions grows. "Trusted computing" initiatives propose to solve some of today s security problems through hardware changes to the personal computer. Changing hardware design isn t inherently suspicious, but the leading trusted computing proposals have a high cost: they provide security to users while giving third parties the power to enforce policies on users computers against the users wishes -- they let others pressure you to hand some control over your PC to someone else. This is a "feature" ready-made for abuse by software authors who want to anticompetitively choke off rival software. It needn t be this way: a straightforward change to the plans of trusted computing vendors could leave the security benefits intact while ensuring that a PC owner s

    标签: vulnerabilities Introduction discovered undeniably

    上传时间: 2014-01-05

    上传用户:yph853211

  • Visual 开发 希望对你们有帮助 public static int Rom(int n, int m)//双寄或双偶 { int count = 0 //第一排Y坐标上要几个

    Visual 开发 希望对你们有帮助 public static int Rom(int n, int m)//双寄或双偶 { int count = 0 //第一排Y坐标上要几个 if (n < m) { for (int i = 1 i <= n i = i + 2) { count++ } } else { for (int j = 1 j <= m j = j + 2) { count++ } } return count }

    标签: int Visual public static

    上传时间: 2013-12-13

    上传用户:懒龙1988

  • 元式

    元式,递归下降法书写的if。。else条件语句的语法分析及语义分析程

    标签:

    上传时间: 2014-01-23

    上传用户:Miyuki

  • pl0语言拓展

    pl0语言拓展,拓展了else ,repeat。。dowhile,—— ,++,-=,+=等

    标签: pl0 语言

    上传时间: 2013-12-15

    上传用户:jennyzai

  • 编译原理课程设计 PL0 (报告实验和课程设计报告

    编译原理课程设计 PL0 (报告实验和课程设计报告,已经设计方法,步骤) 1. 基本内容 (1)扩充赋值运算:+= 和 -= (2)扩充语句 REPEAT <语句序列> DOWHILE <条件> 其中,<条件>是循环条件,即条件成立时,重复执行循环体的<语句序列> 2. 选做内容 (1)增加运算:++ 和 --。 (2)增加类型:① 字符类型; ② 实数类型。 (3)扩充函数:① 有返回值和返回语句;② 有参数函数。 (4)增加一维数组类型(可增加指令)。 (5)其他典型语言设施。 3.本人在课程设计中已实现的功能 (1)增加单词:保留字 else,REPEAT,DOWHILE,RETURN 运算符 +=,-=,++,-- (2)修改单词:不等号# 改为 <> (3)增加条件语句的else子句 (4)扩充赋值运算:+= 和 -= (5)扩充语句 REPEAT <语句序列> DOWHILE <条件> (6)增加运算:++ 和 --(包括前后++、--运算) (7)增加类型:① 字符类型;② 实数类型。 (8)其他典型语言设施:FOR TO语句,FOR DOWNTO语句;

    标签: PL0 报告 编译原理 实验

    上传时间: 2014-01-10

    上传用户:天诚24

  • 利用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 Crypt package only works in Java 6, but can be easily adapted to Java 5 by replacing the call to NetworkInterface.getHardwareAddress() with something else. In order to use 256 bit AES keys, you must download and install "Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files" from http://java.sun.com/javase/downloads/index.jsp

    标签: Java AES AESCrypt contains

    上传时间: 2017-02-11

    上传用户:kiklkook

  • //获得当前的模式 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] } //取得信息 width = vga_getxdim[] height = vga_getydim[] colors = vga_getcolors[] //绘图 for[i=0 i<colors i++]{ vga_setcolor[i] vga_drawline[0, i, width-1, i] }

    标签: vga_getcurrentmode vga_init oldmode vga_ha

    上传时间: 2014-12-19

    上传用户:maizezhen

  • //获得当前的模式 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] } //获得当前的模式 mode = vga_getcurrentmode[] info = vga_getmodeinfo[mode]

    标签: vga_getcurrentmode vga_init oldmode vga_ha

    上传时间: 2017-03-24

    上传用户:ecooo