代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/145158/12748367
m poprot.m
%set popup for rot0
val=get(hpop,'Value');
switch val
case 1
m=120;
case 2
m=70;
case 3
m=250;
end
www.eeworm.com/read/145158/12748898
m popwave4.m
%set popup for waves4
val=get(h1,'Value');
switch val
case 1
waves4
case 2
clc,clear,close all
end
www.eeworm.com/read/246095/12756948
c ddddd.c
set2: switch (key) //set>>tr or set--ps123
{
case 0x00:
while (1)
{
//set>>scl or set--er
display_tr(data);
www.eeworm.com/read/332051/12783158
c decoder_hamming.c
void Decoder_Hamming(int in[7], int out[4])
//(7, 4) 汉明码译码器
{
int j, S;
int s[3];
s[0] = in[0] ^ in[1] ^ in[2] ^ in[4];
s[1] = in[0] ^ in[1] ^ in[3] ^ in[5];
s[2] = in[0] ^ in[2] ^ in[3]
www.eeworm.com/read/144439/12793583
txt 6-5.txt
/* 范例:6-5 */
#include
#include
int main()
{
int Mychar;
printf("请输入a-e字符,若要结束,请按任意键(a-e除外)\n");
for(;((Mychar = getche())!= false);)
{
switch (Mychar)
/*
www.eeworm.com/read/144439/12793814
txt 20-1.txt
/* 范例:20-1 */
// 0.0 File scope 开始
#include
#include
void fun_a(int a,int b); /* 1 函数原型scope(参数行属于此),其中
a,b的可见度仅限于原型声明( )内 */
void main(void)
{
www.eeworm.com/read/244888/12839005
c 2_5a.c
/* ======================================== */
/* 程式实例: 2_5a.c */
/* 查询上课的课目,其中课程以代码表示. */
/* 0 表示没课 */
/* 1 表示计算机概论
www.eeworm.com/read/143811/12839786
txt 20-1.txt
/* 范例:20-1 */
// 0.0 File scope 开始
#include
#include
void fun_a(int a,int b); /* 1 函数原型scope(参数行属于此),其中
a,b的可见度仅限于原型声明( )内 */
void main(void)
{
www.eeworm.com/read/243415/12942687
m ms_encoder_initialization.m
% ms_encoder_initialization ;
switch xrc
case 3
switch xframelength
case 6120
xtrellisstructure=poly2trellis(9,[753 561])';
xpaddedframele
www.eeworm.com/read/327636/13069281
cpp 运输公司对运户计算运费.cpp
#include
void main()
{
int c,s;//c,s 是整型变量,因此c=s/250为整数.当s>=3000时令c=12,而不是C随S增大.
float p,w,d,f;//p=每吨的基本运费;w=贷物重量;s距离;d=折扣;f=总运费;
scanf(" %f %f %d",&p,&w,&s);
if ( s>=3000 ) c=12;