代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/295753/8142214
pro chapter04ms61function.pro
; Chapter04MS61Function.pro
PRO Chapter04MS61Function
READ, PROMPT="请输入X = ?", x
SWITCH 1 of
x LT 0 : BEGIN
y = 2 * x + 1
BREAK
END
www.eeworm.com/read/295753/8142278
pro chapter04scoregrade.pro
; Chapter04ScoreGrade.pro
PRO Chapter04ScoreGrade
m = " "
READ, PROMPT="请输入等级(A , B, C, D, or E):", m
m = STRUPCASE(m)
SWITCH m of
'A' :
'B' :
'C' :
'D' : BEGIN
www.eeworm.com/read/195543/8142949
cpp 表达式求值.cpp
#include"iostream.h"
#include"stdlib.h"
#include"stdio.h"
#define STACK_INIT_SIZE 10
#define STACKINCREMENT 10
#define ElemType char
#define NULL 0
typedef struct{
ElemType *base;
ElemType
www.eeworm.com/read/146173/12666349
cpp algo3-3.cpp
// algo3-3.cpp 括号匹配的检验,(限于()、[])
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
void check()
{ // 对于输入的任意一个字符串,检验括号是否配对
SqStack s;
SElemType ch[80],
www.eeworm.com/read/146173/12666383
cpp algo3-7.cpp
// algo3-7.cpp 表达式求值(范围为int类型,输入负数要用(0-正数)表示)
typedef int SElemType; // 栈元素类型为整型,改进算法3.4
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
SElemType Precede(SElemType t1,SElemType t2) /
www.eeworm.com/read/146173/12666418
cpp algo3-6.cpp
// algo3-6.cpp 表达式求值(输入、输出和中间结果均只能是0~9)
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
SElemType Precede(SElemType t1,SElemType t2)
{ // 根据教科书表3.1,判断两符号的优先关
www.eeworm.com/read/146126/12668349
cpp switchbox.cpp
// switch box routing
#include
#include "arrayStack.h"
using namespace std;
bool checkBox(int net[], int n)
{// Determine whether the switch box is routable.
// net[0..n-1] is
www.eeworm.com/read/246925/12697712
vb otherequ.vb
'**********************其他设备公共类**************************
'***********修改时间:2007年8月12日
'***********编写人:鲍辉
'***********针对与广西联正达合作的机房远控系统
'***********包括设备类型:N+1切换器1台(康特)、信号源切换器12台(成都泰立)、防非信号接收机3台(成都泰立
www.eeworm.com/read/145872/12698515
java app5_10.java
// app5_10,switch语句
public class app5_10
{
public static void main(String args[])
{
int a=100,b=7;
char oper='/';
switch (oper)
{
www.eeworm.com/read/246828/12702942
c func3-2.c
/* func3-2.c algo3-6.c和algo3-7.c要调用的函数 */
char Precede(SElemType t1,SElemType t2)
{ /* 根据教科书表3.1,判断t1,t2两符号的优先关系('#'用'\n'代替) */
char f;
switch(t2)
{
case '+':
case '-':if(