代码搜索结果
找到约 21,386 项符合
Switch 的代码
switch.inc
;***
;switch.inc - see switch.h for real definitions of switches
;
; Copyright 1985, 1986, 1987 Microsoft Corporation
;
;
;******************************************************************
switch.java
//: c09:Switch.java
// From 'Thinking in Java, 3rd ed.' (c) Bruce Eckel 2002
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
public class Switch {
private boolean state = false;
switch-case.c
#include
void main()
{
char in_char;
printf("\n 请输入一个小写字母: ");
scanf("%c", &in_char);
switch(in_char) /* switch 语句的开始处*/
{
case 'a':
printf("\n 您输入的是元音字母 a\n");
switch-case.dsp
# Microsoft Developer Studio Project File - Name="switch-case" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x8
switch-case.plg
Build Log
--------------------Configuration: switch-case - Win32 Debug--------------------
Command Lines
Results
switch-case.ex
switch.java
package testcommand;
//总开关类,控制风扇和灯开关:
class Switch{
private Command UpCommand, DownCommand;
public Switch(Command Up, Command Down) {
UpCommand = Up; //先注册开关的命令
DownCommand = Down;
switch.java~9~
package testcommand;
class Switch{
private Command UpCommand, DownCommand;
public Switch(Command Up, Command Down) {
UpCommand = Up; // concrete Command registers itself with the invoker
switch.java~5~
package testcommand;
public class Switch {
private Command UpCommand, DownCommand;
public void Switch (Command Up, Command Down) {
UpCommand = Up; // concrete Command registers itself with
switch.java~11~
package testcommand;
//总开关类,控制风扇和灯开关:
class Switch{
private Command UpCommand, DownCommand;
public Switch(Command Up, Command Down) {
UpCommand = Up; //先注册开关的命令
DownCommand = Down;
switch.java~6~
package testcommand;
public class Switch {
private Command UpCommand, DownCommand;
public void Switch(Command Up, Command Down) {
UpCommand = Up; // concrete Command registers itself with