代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/197148/8026382
cpp help2.cpp
/*
Project 3-2
An improved Help system that uses a
a do-while to process a menu selection.
*/
#include
using namespace std;
int main() {
char choice;
www.eeworm.com/read/297292/8032493
txt 20-01.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/297292/8032796
txt 06-05.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/296999/8066523
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/195683/8135828
c al4_7.c
/*案例代码文件名:AL4_7.C。*/
/*功能:已知利润求薪水。*/
main()
{ long profit;
int grade;
float salary=500;
printf("Input profit: ");
scanf("%ld", &profit);
grade= (profit – 1) / 1000; /* 将利润-1、再整
www.eeworm.com/read/333542/12676101
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/333542/12676660
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/246680/12712808
m newtoncotes.m
function I = NewtonCotes(f,a,b,type)
%type = 1 科茨公式
%type = 2 牛顿-科茨六点公式
%type = 3 牛顿-科茨七点公式
I=0;
switch type
case 1,
I=((b-a)/90)*(7*subs(sym(f),findsym(sym(f)),a)+...
www.eeworm.com/read/145158/12747924
m popwave.m
%set popup for waves1
val=get(h1,'Value');
switch val
case 1
waves1
case 2
clc,clear,close all
end