代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/136685/13366615
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/136685/13366626
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/136681/13366773
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/322725/13369220
js graphics.js
// 图形基类
var PhysicCoord = {};
PhysicCoord.Unit = 1;
/******************************************************************************/
var ScreenCoord = {};
ScreenCoord.Origin = new Point(10,110);
www.eeworm.com/read/322707/13370517
java example2_10.java
/* switch开关语句 */
import java.applet.*;
import java.awt.*;
public class Example2_10 extends Applet
{
public void paint(Graphics g)
{
int x=2,y=1;
switch(x+y)
{
case
www.eeworm.com/read/322606/13373004
s readswitch.s
.module ReadSwitch.c
.area text(rom, con, rel)
.dbfile C:\DOCUME~1\Administrator\桌面\LCU904~1\固件程序\ReadSwitch.c
.area bss(ram, con, rel)
.dbfile C:\DOCUME~1\Administrator\桌面\LCU904~1\固件程序\Read
www.eeworm.com/read/322321/13382589
cpp daima.cpp
#include "daima.h"
void CDaima::Gen(enum fct x,int y,int z)
{
if (cx
www.eeworm.com/read/321816/13398230
txt 按键发送.txt
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define shuju P0
#define bus P1
//#define lcdbus P3
void delayms(int i)
{
int j;
for(j=0;j
www.eeworm.com/read/321816/13398248
c chuan_send.c
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define shuju P0
#define bus P1
void delayms(int i) //延时函数
{
int j;
for(j=0;j
www.eeworm.com/read/321594/13402840
cpp main.cpp
#include
#include
#include
#include "gelie.h"
#include "ttt.h"
#include
people pp;
student ss;
teacher tt;
graduate gg;
TA TT;
int main()
{