代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/392789/8325947
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/292793/8334050
cpp 2688-1.cpp
#include
using namespace std;
int main()
{
char s[80],*p;
int c[5]={0};
gets(s);
p=s;
while(*p)
{
switch(*p)
{
case 'a': c[0]++;break;
case 'e': c[1]++;break;
www.eeworm.com/read/392361/8348537
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/370801/9584989
c car.c
//#include
#include
#include
#define uchar unsigned char
#define uint unsigned int
#define DsDat P1_4 //显示数据
#define DsClk P1_5 //送数时钟
#define cd
www.eeworm.com/read/370421/9601032
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/174062/9610006
c ch5_5.c
/*ch5_5*/
/*从键盘上输入一个百分制成绩score,按下列原则输出其等级:*/
/*score≥ 90,等级为A;80≤ score
www.eeworm.com/read/173687/9641892
h excep.h
/******************************************************************************
* Excep.h Exception vectors etc
******************************************************************************
*/
#
www.eeworm.com/read/369398/9650684
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/173560/9651057
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