代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/259942/11756445
c scanner.c
/* Generated by re2c */
#line 1 "scanner.re"
/* Id: scanner.re,v 1.37 2006/02/25 12:41:41 helly Exp */
#include
#include
#include
#include
#include "scanner.
www.eeworm.com/read/259942/11756473
c input8.c
/* Generated by re2c */
#line 1 "input8.re"
#line 5 ""
{
YYCTYPE yych;
unsigned int yyaccept = 0;
if((YYLIMIT - YYCURSOR) < 4) YYFILL(4);
yych = *YYCURSOR;
switch(yych) {
case 0x0A: go
www.eeworm.com/read/156874/11758088
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/156868/11759457
m subsasgn.m
function f = subasgn(f,S,b)
switch S.type
case '.'
switch lower(S.subs)
case {'amplitude','delay','width'}
eval(['f.' S.subs '=b;']);
otherwise
error(['The parameter ' char
www.eeworm.com/read/156868/11759492
m subsref.m
function b = subsref(sig,S)
switch S.type
case '()'
b = feval(sig,S.subs{:});
case '.'
switch lower(S.subs)
case {'scalingfactor','expconstant','length','delay','causality','name'}
www.eeworm.com/read/156868/11759494
m subsasgn.m
function f = subasgn(f,S,b)
switch S.type
case '.'
switch lower(S.subs)
case {'scalingfactor','expconstant','length','delay','causality'}
eval(['f.' S.subs '=b;']);
otherwise
www.eeworm.com/read/156868/11759527
m subsasgn.m
function f = subasgn(f,S,b)
switch S.type
case '.'
switch lower(S.subs)
case {'amplitude','period','phase','length','delay'}
eval(['f.' S.subs '=b;']);
otherwise
error(['Th
www.eeworm.com/read/156868/11759561
m subsasgn.m
function f = subasgn(f,S,b)
switch S.type
case '.'
switch lower(S.subs)
case {'amplitude','period','phase','length','delay'}
eval(['f.' S.subs '=b;']);
otherwise
error(['Th
www.eeworm.com/read/156868/11759709
m subsasgn.m
function f = subasgn(f,S,b)
switch S.type
case '.'
switch lower(S.subs)
case {'area','delay','plotheight','plotscale'}
eval(['f.' S.subs '=b;']);
otherwise
error(['The para
www.eeworm.com/read/156813/11762178
cpp p1-30.cpp
#include
main()
{
//x,y 为操作数,c为运算符
int x,y,z;
char c1;
cin>>x>>c1>>y; //c1
//多路选择语句选择不同表达式计算语句
switch(c1) {
case '+':cout