代码搜索结果
找到约 21,386 项符合
Switch 的代码
ex_3_2_7.java
/*
*文件名 ex_3_2_7.java
*说 明:月份所在季节判断的switch版本
*/
class ex_3_2_7
{
public static void main(String args[])
{
int month = 4; // 四月
String season;
switch(month) // 开关为month
{
/
i18ndemo_en.properties
welcome:Welcome to motocoder.com
title:Iternationalization Demo - English
exit: Exit
switchlang: Switch
st2000.mt
# Target: Tandem ST-2000 phone switch
TDEPFILES= m68k-tdep.o remote-st.o
TM_FILE= tm-st2000.h
match.c
#include "..\h\tools.h"
#include
flagType fMatch (pat, text)
char *pat, *text;
{
switch (*pat) {
case '\0':
return (flagType) (*text == '\0');
case '?':
retur
emergencylight.java
public class EmergencyLight extends BuildingLight { // NEVER SWITCH OFF
EmergencyLight(int roomNumber) {
super(roomNumber);
}
}
switch.cxx
/*
* switch.cxx
*
* Cooperative multi-threading stack switch function.
*
* Portable Windows Library
*
* Copyright (c) 1993-1998 Equivalence Pty. Ltd.
*
* The contents of this file are subject
trace-switch.gdb
break *switch_thread
command
silent
printf "[switch 0x%x -> 0x%x]:\n", $r6, $r7
#call show_regs ($r7 + 24)
#printf "New: "
#p/x *(struct pt_regs *)($r7 + 24)
cont
end
#break *(switch_thre
case.cpp
/****************************/
/* FastScript v1.0 */
/* 'Case' operator demo */
/****************************/
int i, j;
{
i = 0;
switch (i)
{
case 1: j = 1;
case.js
//****************************/
//* FastScript v1.0 */
//* 'Case' operator demo */
//****************************/
var i, j;
i = 0;
switch (i)
{
case 1: j = 1;
switcher.java
//==============================================================
// Switcher.java - Demonstrates switch statements
//
// Java学习源代码检索系统 Ver 1.0 20031015 免费正式版
// 版权所有: 中国IT认证实验室(www.ChinaITLab.com)