代码搜索:Switch

找到约 10,000 项符合「Switch」的源代码

代码结果 10,000
www.eeworm.com/read/268087/11155156

h switchform.ui.h

/**************************************************************************** ** ui.h extension fiLe, incLuded from the uic-generated form impLementation. ** ** If you wish to add, deLete or rename fu
www.eeworm.com/read/413044/11169058

c animals.c

/* animals.c -- uses a switch statement */ #include #include int main(void) { char ch; printf("Give me a letter of the alphabet, and I will give "); printf("an
www.eeworm.com/read/267095/11195042

m exp2_14.m

clear clc close t=-pi:0.1:pi; trigname=input('Input trig functions name:') switch trigname case 'sin' plot(t,sin(t)) case 'cos' plot(t,cos(t)) otherwise break %终止,跳出switch语句 end
www.eeworm.com/read/267034/11196747

cpp stackarithmethic.cpp

#include using namespace std; #define STACKINITSIZE 20 #define STACKINCREAMENT 10 //定义两个栈,一个运算符栈,存储char类型数据,一个操作数栈,存储int类型数据 struct stack1{//运算符栈//运算符栈的实现算法开始 char *base; char *top;
www.eeworm.com/read/412269/11207725

m exp2_14.m

clear clc close t=-pi:0.1:pi; trigname=input('Input trig functions name:') switch trigname case 'sin' plot(t,sin(t)) case 'cos' plot(t,cos(t)) otherwise break %终止,跳出switch语句 end
www.eeworm.com/read/266820/11211815

m exp2_14.m

clear clc close t=-pi:0.1:pi; trigname=input('Input trig functions name:') switch trigname case 'sin' plot(t,sin(t)) case 'cos' plot(t,cos(t)) otherwise break %终止,跳出switch语句 end
www.eeworm.com/read/266813/11212179

m metric.m

function distance=metric(x,y) if x==y distance=0; else distance=1; end % switch (y) % case 0 % if x==0 % distance=0.0458; % end % if x==1 % distance=2;
www.eeworm.com/read/266764/11213261

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/266764/11213277

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/266764/11213303

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,判断两符号的优先关