代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/401335/11559172
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/401110/11563915
inf avr309.inf
[Version]
Signature="$CHICAGO$"
Class=USB
provider=%MB%
LayoutFile=layout.inf
[Manufacturer]
%MfgName%=IgorCeskoCompany
[IgorCeskoCompany]
USB Switch=AVR309Prj.Dev, USB\VID_03EB&PID_0002
www.eeworm.com/read/400544/11574644
cpp func3-1.cpp
// func3-1.cpp algo3-5.cpp和algo3-6.cpp要调用的函数
char Precede(SElemType t1,SElemType t2)
{ // 根据教科书表3.1,判断t1,t2两符号的优先关系('#'用'\n'代替)
char f;
switch(t2)
{ case '+':
case '-':if(t1=='(
www.eeworm.com/read/158649/11594886
java vowelsandconsonants.java
//: c03:VowelsAndConsonants.java
// Demonstrates the switch statement.
// {NoAutomaticTesting}
public class VowelsAndConsonants {
public static void main(String[] args) {
for(int i = 0; i
www.eeworm.com/read/158628/11597055
java testcommand.java
package ch10.section04;
public class TestCommand {
public TestCommand() {
}
public static void main(String[] args) {
Light testLight = new Light();
LightOnCommand testLOC = n
www.eeworm.com/read/348214/11605393
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/262111/11606028
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/262111/11606061
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/262111/11606106
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/262111/11606645
c algo3-3.c
/* algo3-3.c 括号匹配的检验,(限于()、[]) */
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.c"
void check()
{ /* 对于输入的任意一个字符串,检验括号是否配对 */
SqStack s;
SElemType ch[80