代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/482837/6614314
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/482610/6619861
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/482102/6626745
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/481215/6644925
c main.c
#include
typedef unsigned char uchar;
typedef unsigned int uint;
#define EnableON P1OUT|=BIT4 ; //ENABLE置为高 各相输出被强制关闭
#define EnableOFF P1OUT&=~BIT4; //ENABLE置为低
www.eeworm.com/read/481249/6646414
c 汉诺塔.c
这是个汉诺塔程序,在调试的时候,输入的数字最好不要大于15,因为每大一个数
所得的结果的步骤都会多一倍。如果你有耐心等待结果的话除外。汉诺塔是在欧洲
流行的一种游戏,有a,b,c三个竿。a竿上有若干个由大到小的圆盘,大的在下面,
小的在上面,b,c都是空杆,请你把a杆上的圆盘都倒到别的杆上,或b或c,在倒盘
的过程中不可以大的压小的,实例程序如下:
#include ...
www.eeworm.com/read/481343/6652848
cmd ex5_6.cmd
-c
-m Ex5_6.map
-o Ex5_6.out
Ex5_6.obj
-lrts.lib
-stack 0x100
MEMORY
{
PAGE 0: PROG: origin = 1a00h, length = 2600h
PAGE 1: DATA: origin = 0200h, length = 2800h
}
SECT
www.eeworm.com/read/480948/6654378
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/480529/6665843
txt 10-10.txt
%例10-10 switch - case - otherwise - end分支语句的使用。
function lower1(method)
switch method
case {'linear','bilinear'}
disp('Method is linear')
case 'cubic'
www.eeworm.com/read/480247/6668527
cmd ex5_5.cmd
-c
-m Ex5_5.map
-o Ex5_5.out
Ex5_5.obj
-lrts.lib
-stack 0x100
MEMORY
{
PAGE 0: PROG: origin = 1a00h, length = 2600h
PAGE 1: DATA: origin = 0200h, length = 1800h
}
SECT