代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/309649/13666919
man getoptsl.man
+++Date last modified: 05-Jul-1997
FUNCTION: getopts_lite()
ABSTRACT: Command line argument processor. A subset of getopts() (also in
SNIPPETS), handles switches, options, lit
www.eeworm.com/read/308708/13695146
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/308708/13695155
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/308708/13695168
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/308708/13695363
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/308602/13699168
m e0314.m
n=input('n=')
if n100
disp ('Error')
else
i=fix(n/10);
switch i
case {9,10}
disp('A')
case 8
disp ('B')
case 7
disp('C')
case 6
www.eeworm.com/read/308482/13700521
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/308157/13707092
c 汉诺塔.c
这是个汉诺塔程序,在调试的时候,输入的数字最好不要大于15,因为每大一个数
所得的结果的步骤都会多一倍。如果你有耐心等待结果的话除外。汉诺塔是在欧洲
流行的一种游戏,有a,b,c三个竿。a竿上有若干个由大到小的圆盘,大的在下面,
小的在上面,b,c都是空杆,请你把a杆上的圆盘都倒到别的杆上,或b或c,在倒盘
的过程中不可以大的压小的,实例程序如下:
#include ...
www.eeworm.com/read/307986/13711781
txt sound.txt
#include
#include
#include "sound.h"
#include
#include
#include
#include
static int panelHandle;
double D