代码搜索结果
找到约 10,000 项符合
Switch 的代码
cobol.syn
; Syntax file for BULL Cobol 85
; Contributed by Martin Stalder (martin.stalder@berner.ch)
C=1
[Syntax]
Namespace1 = 6
IgnoreCase = Yes
InitKeyWordChars = A-Za-z
KeyWordChars = A-Za-z0-9-
cg.asv
function [xmin,fmin]=CG()
switch Dim
case 1
x1_derivative=diff(f_derivative,'x1');
case 2
x1_derivative=diff(f_derivative,'x1');
x2_derivative=diff(f_derivative
opts3
#!/bin/sh
# Program opts3
# Using getopts -- Third try --
while getopts dq: options
do
case $options in
d) echo "-d is a valid switch ";;
q) echo "The argument for -q is $OPTARG";;
\?) echo "
gill.h
/*
* include/platform/gill.h
*
* This file contains the hardware specific definitions for Gill
*
* Author: Chan Gyun Jeong
* $Id: gill.h,v 1.1.1.1 2004/02/04 06:22:25 laputa E
9-6.c
/*9-6.c*/
#include
#include
#include
#include
void main(int argc,char *argv[])
{
FILE *fp;
int rate;
char sound_high[3];
float sound_long;
register int i=
bnf.c
typedef long * yy;
#define yyu (-2147483647L)
static yy yynull;
extern yy yyh;
extern yy yyhx;
static yyErr(n,l)
{
yyAbort(n,"bnf", l);
}
extern yy yyglov_LHS_List;
yyeq_ACTIONBLOCK(t1, t2) yy t1, t2;
ush-parse.c
/* ush-parse.c */
/* scanner/parser for ush */
#include "ush.h"
#include "ush-parse.h"
TOKEN gettoken(char *word)
{
enum
{ NEUTRAL, GTGT, INQUOTE, INWORD }
state = NEUTRAL;
int c;
upper.c
#include
unsigned char code CHARDECODE[14]={};
unsigned char SystemState; //系统状态,于下位机的状态(SystemStep)同步
bit FirstRun=0;
main()
{
P1=0;
Delayms(100);
InitSeries()
习题-38.c
//本程序只给出了算法思想
//读者可以自己完善本程序
typedef enum {RED,WHITE,BLUE} color; //三种颜色
void Flag_Arrange(color a[ ],int n)
//把由三种颜色组成的序列重排为按照红,白,蓝的顺序排列
{
i=0;j=0;k=n-1;
while(j
bnf.c
typedef long * yy;
#define yyu (-2147483647L)
static yy yynull;
extern yy yyh;
extern yy yyhx;
static yyErr(n,l)
{
yyAbort(n,"bnf", l);
}
extern yy yyglov_LHS_List;
yyeq_ACTIONBLOCK(t1, t2) yy t1, t2;