代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/161121/5555710
c pci_fixup.c
/*
* FILE NAME
* arch/mips/vr41xx/nec-eagle/pci_fixup.c
*
* BRIEF MODULE DESCRIPTION
* The NEC Eagle/Hawk Board specific PCI fixups.
*
* Author: Yoichi Yuasa
* yyuasa@mvista.com or sou
www.eeworm.com/read/160611/5568572
c cmdline.c
/* cmdline.c -- command line parsing routines */
/* Copyright 1989 Carnegie Mellon University */
/*
* This module is designed to allow various modules to scan (and rescan)
* the command line for app
www.eeworm.com/read/160611/5568704
c cmdline.c
/* cmdline.c -- command line parsing routines */
/*
* This module is designed to allow various modules to scan (and rescan)
* the command line for applicable arguments. The goal is to hide as
* mu
www.eeworm.com/read/159825/5580679
c cmd_cache.c
/*
* (C) Copyright 2000
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* This program is free softwa
www.eeworm.com/read/158018/5601513
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/158018/5601516
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/156960/5608245
cpp p1-30.cpp
#include
main()
{
//x,y 为操作数,c为运算符
int x,y,z;
char c1;
cin>>x>>c1>>y; //c1
//多路选择语句选择不同表达式计算语句
switch(c1) {
case '+':cout
www.eeworm.com/read/156843/5609439
java javapropertiestokenizer.java
/*******************************************************************************
* Copyright (c) 2003 Berthold Daum.
* All rights reserved. This program and the accompanying materials
* are mad
www.eeworm.com/read/154890/5632207
cpp kintegerline.cpp
/**********************************************************************
**
** $Id: kintegerline.cpp,v 1.1 2003/09/08 19:42:09 jasonk Exp $
**
** Implementation of
**
** Copyright (C) 1997 Michael Wie
www.eeworm.com/read/154890/5633110
c p_ceilng.c
// Emacs style mode select -*- C++ -*-
//-----------------------------------------------------------------------------
//
// $Id: p_ceilng.c,v 1.2 2003/09/08 22:34:29 jasonk Exp $
//
// Copyright (