代码搜索结果
找到约 21,386 项符合
Switch 的代码
page112.cpp
#include
#include
#include
int isp(char ch){
switch (ch){
case '#': return 0;
case '(': return 1;
case '^': return 7;
case '*':
case '/'
测试总结.txt
测试范围
一。测试对以下字符的识别:
关键字
"DO","MAIN","ELSE","IF","WHILE","FOR","INT","CHAR","FLOAT","STRING","SWITCH","CASE","DEFAULT","DEFINE","VOID","STRUCT","do","main","else","if","while","for","int","char",
test11.txt
char *key[]={"DO","MAIN","ELSE","IF","WHILE","FOR","INT","CHAR","FLOAT","STRING","SWITCH","CASE","DEFAULT","DEFINE","VOID","STRUCT"
"do","main","else","if","while","for","int","char","f
test2.txt
main()
{
int *a;
*a=6;
switch(a){
case 1:;
case 2:;
default:;
}
getname.c
getname(char *name)
{
int i;
for (i = 0; i
cshcmd
csh(1) alias: shell macros.
csh(1) bg: place job in background.
csh(1) break: exit while/foreach loop.
csh(1) breaksw: exit from switch.
csh(1) case: selector in switch.
csh(1) cd: change directory.
c
getopt.pl
;# $RCSfile: getopt.pl,v $$Revision: 4.0.1.1 $$Date: 91/11/05 17:53:01 $
;# Process single-character switches with switch clustering. Pass one argument
;# which is a string containing all switches t
switch.t
#!./perl
# $Header: switch.t,v 4.0 91/03/20 01:49:44 lwall Locked $
print "1..18\n";
sub foo1 {
$_ = shift(@_);
$a = 0;
until ($a++) {
next if $_ eq 1;
next if $_ eq 2;
next if $_ eq
newsgas.h
/* In Sony versions before 3.0, use the GNU Assembler, because the
system's assembler has no way to assemble the difference of two
labels for the displacement in a switch-dispatch instruction.
changes
$Id: CHANGES,v 1.2 1993/07/21 14:38:47 barr Exp barr $
Version 1.6
removed -c switch, since I thought it would work a long time ago, but
later found out it could never be made to work. Well, it coul