代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/262778/11391551
cpp algo3-3.cpp
// algo3-3.cpp 括号匹配的检验,(限于()、[])
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
void check()
{ // 对于输入的任意一个字符串,检验括号是否配对
SqStack s;
SElemType ch[80],
www.eeworm.com/read/262778/11391560
cpp algo3-7.cpp
// algo3-7.cpp 表达式求值(范围为int类型,输入负数要用(0-正数)表示)
typedef int SElemType; // 栈元素类型为整型,改进算法3.4
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
SElemType Precede(SElemType t1,SElemType t2) /
www.eeworm.com/read/262778/11391578
cpp algo3-6.cpp
// algo3-6.cpp 表达式求值(输入、输出和中间结果均只能是0~9)
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.cpp"
SElemType Precede(SElemType t1,SElemType t2)
{ // 根据教科书表3.1,判断两符号的优先关
www.eeworm.com/read/408164/11403167
cpp cirqueuemain.cpp
#include //引用输入输出流
#include "CirQueue.cpp" //引入成员函数文件
#include
using namespace std;
int main()
{
int which; //功能选择变量
int queue; //队列选择变量
www.eeworm.com/read/406757/11436566
htm 00000004.htm
BBS水木清华站∶精华区
BBS水木清华站∶精华区
发信人: FrankCH (小花花), 信区: Java
标 题: Java教程(五)
www.eeworm.com/read/405906/11455159
c parser.c
#include "global.h"
int lookahead;
parse()
{
int t;
lookahead = lexan();
while (lookahead != DONE)
{
expr();
if(flag==0) //欲进行求值操作
{
if(wflag!=1) //不含标志符的表达式
www.eeworm.com/read/405903/11455174
c 按键.c
#include
#include
void main()
{ unsigned char i;
DDRD=0XFF;
DDRC=0X00;
PORTC=0XFF;
while(1)
{i=PINC|0xF0;
switch(i)
{ case 0xfe:
PORT
www.eeworm.com/read/405714/11458932
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/405386/11463995
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;