代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/121167/14768060
cpp page112.cpp
#include
#include
#include
int isp(char ch){
switch (ch){
case '#': return 0;
case '(': return 1;
case '^': return 7;
case '*':
case '/'
www.eeworm.com/read/220998/14780464
cpp hour06_3.cpp
//Listing 6.14
// Demonstrates switch statement
#include
int main()
{
unsigned short int number;
int looper;
std::cout
www.eeworm.com/read/120969/14780956
cpp test9.cpp
#define STACKINITSIZE 100//存储空间初始分量
#define STACKINCREMENT 10//存储空间分配增量
#include
#include
#include
char OP[]={'+','-','*','/','(',')','#'};
typedef struct BiTNod
www.eeworm.com/read/220921/14783661
cpp p1-30.cpp
#include
main()
{
//x,y 为操作数,c为运算符
int x,y,z;
char c1;
cin>>x>>c1>>y; //c1
//多路选择语句选择不同表达式计算语句
switch(c1) {
case '+':cout
www.eeworm.com/read/220804/14788211
m q803.m
%《MATLAB在电子信息课程中的应用》第八章例8.3程序q803
% 用LTI模型作信号流图的计算
% 电子工业出版社出版 陈怀琛 吴大正 高西全合著 2001年10月
%
% 本题与第六章例6.20相同,解法不同,第六章用符号运算,本章用LTI对象模型来完成
clear
k=input('用什么模型?传递函数-键入1,零极增益-键入2,状态空间-键入3,k= ');
sw ...
www.eeworm.com/read/220803/14788437
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/220692/14791673
m biorlift.m
%**************************************************************************
% 函数功能:计算双正交样条小波的提升方案
% *************************************************************************
function LS = BiorLift(
www.eeworm.com/read/220592/14795915
java balancedtree.java
//平衡二叉树
package com.fluently.DataStructure;
import com.fluently.DataStructure.*;
public class BalancedTree
{
public BalancedNode root;
public BalancedTree()
{
this.root=root;
}
//in
www.eeworm.com/read/220592/14795942
java balancedtree.java
//平衡二叉树
package com.fluently.DataStructure;
import com.fluently.DataStructure.*;
public class BalancedTree
{
public BalancedNode root;
public BalancedTree()
{
this.root=root;
}
//in
www.eeworm.com/read/220530/14797414
cpp enemytank.cpp
// EnemyTank.cpp: implementation of the CEnemyTank class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "EnemyTank.h"
//////////////////