代码搜索:Switch

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

代码结果 10,000
www.eeworm.com/read/445286/7596860

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/445247/7597525

java tbutton.java

/* 重载Button类,在tButton对象获取输入焦点时, 如果用户按下ENTER键,处理该事件 */ import java.awt.*; public class tButton extends Button { static final int ENTER = 10; //使用提供的标签构造tButton对象 tButton(String
www.eeworm.com/read/444277/7614813

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
www.eeworm.com/read/443686/7628264

cpp menu2.cpp

//: C03:Menu2.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Copyright notice in Copyright.txt // A menu using a switch statement #
www.eeworm.com/read/443457/7632566

cpp 1170.cpp

#include #include using namespace std; void main() { int a,b,t; char c; cin>>t; while(t--){ cin>>c>>a>>b; switch(c){ case '+':
www.eeworm.com/read/442649/7648328

txt 算法9.7.txt

【算法9.7】 typedef struct NODE{ ElemType elem; /*数据元素*/ int bf; /*平衡因子*/ struct NODE *lc,*rc; /*左右子女指针*/ }NodeType; /*结点类型*/ void R_Rotate(NodeType **p) {
www.eeworm.com/read/442585/7649192

c 24e1.c

/*===================================================================== * * nRF24E1-Quick-Dev快速开发系统源代码 * 2003.7.1 * 功能: * 1.nRF24E1的初始化控制 * 2.nRF24E1的数据发射与数据接收 * 3.串口通信 * 4.由 Keil C5
www.eeworm.com/read/442220/7656995

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
www.eeworm.com/read/441834/7664184

cpp 一周七天的程序.cpp

#include "stdio.h" void main() { int day; scanf("%d",&day); switch(day) { case 1:printf("星期一\n");break; case 2:printf("星期二\n");break; case 3:printf("星期三\n");break; cas
www.eeworm.com/read/441668/7667358

cpp page112.cpp

#include #include #include int isp(char ch){ switch (ch){ case '#': return 0; case '(': return 1; case '^': return 7; case '*': case '/'