代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/127805/14332983
cc avr.cc
/* $Id: AVR.cc,v 1.5 2000/09/24 12:57:54 pure Exp $ */
#include
#include
#include "AVR.h"
#include "AVR_UART.h"
AVR::AVR(unsigned ramsize, unsigned romsize, unsigned model,
www.eeworm.com/read/229132/14351821
c testpower.c
#include "usbdriver.h"
NTSTATUS TestPowerIrp(IN PDEVICE_OBJECT fdo,IN PIRP Irp)
{
NTSTATUS ntStatus;
PIO_STACK_LOCATION IrpStack, NextStack;
PDEVICE_EXTENSION pdx;
pdx = fdo->Devic
www.eeworm.com/read/127116/14377711
java testcommand.java
package com.javapatterns.command.lightandfan;
public class TestCommand
{
public static void main(String[] args)
{
Light testLight = new Light( );
LightOnCommand testLOC =
www.eeworm.com/read/126955/14391852
dpr testreftables.dpr
program TestRefTables;
{$APPTYPE CONSOLE}
uses
SysUtils,
FastDbSession,
FastDbQuery,
FastDbVar,
FastDbCLI;
var
session : TFastDbSession;
q : TFastDbQuery;
flds
www.eeworm.com/read/227861/14408271
m evalinzzy.m
function y1=evalinzzy(a,s)
t=(0:a)/a*2*pi;
y1=subevalinzzy(4,s);
%------------ subfunction -------------
function y2=subevalinzzy(a,s)
t=(0:a)/a*2*pi;ss='a*exp(i*t)';
switch s
case {'base','c
www.eeworm.com/read/227639/14418673
c 汉诺塔.c
这是个汉诺塔程序,在调试的时候,输入的数字最好不要大于15,因为每大一个数
所得的结果的步骤都会多一倍。如果你有耐心等待结果的话除外。汉诺塔是在欧洲
流行的一种游戏,有a,b,c三个竿。a竿上有若干个由大到小的圆盘,大的在下面,
小的在上面,b,c都是空杆,请你把a杆上的圆盘都倒到别的杆上,或b或c,在倒盘
的过程中不可以大的压小的,实例程序如下:
#include ...
www.eeworm.com/read/126038/14450639
cpp switchpopuptrigger.cpp
#include "SwitchPopupTrigger.h"
const Char* CSwitchPopupTrigger::GetItemText(Int16 nItemNum)
{
switch (nItemNum) {
case 0:
return "站点查询";
break;
case 1:
return "线路查询";
break;
www.eeworm.com/read/226704/14454217
c irpnames.c
/*++
Copyright (c) 1989-1999 Microsoft Corporation
Module Name:
irpName.c
Abstract:
This module contains functions used to generate names for IRPs
Environment:
User
www.eeworm.com/read/226560/14458796
cpp menu2.cpp
//: C03:Menu2.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// A menu using a switch statement
#