代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/121089/6069800
inc baslibma.inc
;***
; BASLIBMA.INC - 26-Aug-86 - General Utility Macro Definitions
;***
.XLIST
;***
;
; Copyright 1986, Microsoft Corporation
;
;Purpose:
; General purpose runtime macros.
;
;********
www.eeworm.com/read/121089/6069980
makefile
#========================================================================
# Name: QBASIC Runtime Makefile
# Usage:
# make -f [TL=] ["IDB=-DDBG"] [bqb50.lib bqlb45.lib]
#
www.eeworm.com/read/121089/6070610
c match.c
#include "..\h\tools.h"
#include
flagType fMatch (pat, text)
char *pat, *text;
{
switch (*pat) {
case '\0':
return (flagType) (*text == '\0');
case '?':
retur
www.eeworm.com/read/119338/6090831
java ex_3_2_8.java
/*
*文件名 ex_3_2_8.java
*说 明:模拟菜单程序
* switch语句使用举例
*/
import java.io.*; // 导入java.io包
class ex_3_2_8
{
public static void main(String args[])
throws IOException // 抛出异常 IOExcepti
www.eeworm.com/read/119338/6090834
java 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
{
/
www.eeworm.com/read/119248/6091500
properties i18ndemo_en.properties
welcome:Welcome to motocoder.com
title:Iternationalization Demo - English
exit: Exit
switchlang: Switch
www.eeworm.com/read/113536/6128157
c match.c
#include "..\h\tools.h"
#include
flagType fMatch (pat, text)
char *pat, *text;
{
switch (*pat) {
case '\0':
return (flagType) (*text == '\0');
case '?':
retur
www.eeworm.com/read/113071/6142068
java emergencylight.java
public class EmergencyLight extends BuildingLight { // NEVER SWITCH OFF
EmergencyLight(int roomNumber) {
super(roomNumber);
}
}
www.eeworm.com/read/108103/6185989
cpp case.cpp
/****************************/
/* FastScript v1.0 */
/* 'Case' operator demo */
/****************************/
int i, j;
{
i = 0;
switch (i)
{
case 1: j = 1;