代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/202201/15389696
cpp f0709.cpp
//=====================================
// f0709.cpp
// 嵌套的局部作用域
//=====================================
#include
using namespace std;
//-------------------------------------
void fn(
www.eeworm.com/read/201437/15408547
c yejing_main.c
#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
sbit IRPT5=P1^2;//ZLG7290中断
sbit bojing=P3^4;
void Reset();
void KeyDisposal()
www.eeworm.com/read/201342/15410012
txt 10-10.txt
%例10-10 switch - case - otherwise - end分支语句的使用。
function lower1(method)
switch method
case {'linear','bilinear'}
disp('Method is linear')
case 'cubic'
www.eeworm.com/read/201153/15415711
c sugarmemoreview.c
//Review Module
#include "SugarMemoRsc.h"
#include "SugarMemoReview.h"
Boolean ReviewFormHandleEvent(EventType * event){
FormType* frmP;
Boolean handled = false;
switch (event->eType){
www.eeworm.com/read/200346/15435209
cmd test16.cmd
-c
-h
-mtest16.map
-otest16.out
test16.OBJ
-lrts.lib
-stack 0x100
MEMORY
{
PAGE 0: PROG: origin = 3200h, length = 0E00h
PAGE 1: DATA: origin = 0200h, length = 3000h
}
www.eeworm.com/read/200131/15440091
m evalinzzy.m
function y1=evalinzzy(a,s)
t=(0:a)/a*2*pi;
y1=subevalinzzy(4,s);
%------------ subfunction -------------
function y2=subevalinzzy(a,s)
t=(0:a)/a*2*pi;ss='a*exp(i*t)';
switch s
case {'base','c
www.eeworm.com/read/200131/15440246
m dydt2.m
function Yd=DYDt2(t,Y,flag,G,ME)
% flag 按ODE文件格式规定,必须是第三输入宗量。对它的赋值由ode45指令自动产生。
% 第4、5宗量是被传递的参数
switch flag
case '' %按规定:这里必须是空串。在此为"真"时,完成以下导数计算。
X=Y(1:2);V=Y(3:4);r=sqrt(sum(X.^2));Y
www.eeworm.com/read/200131/15440252
m exm070531_1.m
function y1=exm070531_1(a,s)
t=(0:a)/a*2*pi;
y1=subevalinzzy(4,s);
%------------ subfunction -------------
function y2=subevalinzzy(a,s)
t=(0:a)/a*2*pi;ss='a*exp(i*t)';
switch s
case {'base',
www.eeworm.com/read/113863/15446713
x test1.x
union optlong switch (int discr) {
case TRUE:
long val;
case FALSE:
void;
};
struct args {
optlong arg0;
long arg1;
short *arg2;
};