代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/448182/7538522
c l3-5.c
/**********************************************************************
程序名称:L3-5.c
程序功能:演示switch语句的使用方法
程序作者:张三
创建时间:2008-3-28
*******************************************************************
www.eeworm.com/read/448182/7538525
c l3-6.c
/**********************************************************************
程序名称:L3-6.c
程序功能:演示如何在switch语句中使用break 语句
程序作者:张三
创建时间:2008-3-28
**********************************************************
www.eeworm.com/read/447973/7542796
m cregion.m
%%% DynaEst 3.032 10/22/2000
% Copyright (c) 2000 Yaakov Bar-Shalom
%
% CRegion : Confidence region for the NEES, NIS
function y = CRegion(nrun,nx,nz,ViewStatusFlag )
switch ViewStatusFlag
www.eeworm.com/read/447444/7551016
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/447342/7554279
c parser.c
#include "global.h"
#include "lexer.c"
int lookahead;
void parse()
{
lookahead =lexan();
while(lookahead!=DONE){
expr();match(';');
}
}
void expr()
{
int t;
term();
while
www.eeworm.com/read/447020/7560271
m ncbgraph.m
function theResult = NCBGraph(self, theNCItem, theKind)
% NCBGraph -- Graph data from the NetCDF browser.
% NCBGraph(self, theNCItem, 'theKind') plots the data associated
% with theNCItem sele
www.eeworm.com/read/446810/7564484
cpp onoff.cpp
//switch led on /off in Visual C++
#include
#include
int main()
{
int counter;
//10 loops
for(counter = 0;counter
www.eeworm.com/read/446420/7579524
m recognize.m
%recognize
%生成向量形式
for m=0:15
q(m*16+1:(m+1)*16,1)=p1(1:16,m+1);
end
%识别
[a,Pf,Af]=sim(net,q);
a=round(a);
switch a
case 0,ch='A';
case 1,ch='B';
case 2,ch='C';
case 3,
www.eeworm.com/read/446157/7584902
upg digit.upg
Digitizers
NORMAL
00 Undefined
01 Digitizer
02 Pen
03 Light Pen
04 Touch Screen
05 Touch Pad
06 White Board
07 Coordinate Measuring Machine
08 3-D Digitizer
09 Stereo Plotter
0A Articulate
www.eeworm.com/read/445911/7588164
html 08.html
switch分支语句
switch分支语句:
var month = window.prompt("请输入月份(1~12)","");
document.write(month);
var