代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/220439/14800831
cpp menu_chooser.cpp
// Menu Chooser
// Demonstrates the switch statement
#include
using namespace std;
int main()
{
cout
www.eeworm.com/read/120454/14803040
c zsend.c
/*--------------------------------------------------------------------------*/
/* FILE: zsend.c (Opus zmodem transmitter) */
/*
www.eeworm.com/read/120216/14809600
c algo3-6.c
/* algo3-6.c 表达式求值(输入、输出和中间结果均只能是0~9) */
typedef char SElemType;
#include"c1.h"
#include"c3-1.h"
#include"bo3-1.c"
SElemType Precede(SElemType t1,SElemType t2)
{ /* 根据教科书表3.1,判断两符号的优先关系
www.eeworm.com/read/120207/14809952
c getargs.c
/*--------------------------------------------------------------------*/
/* g e t a r g s . c */
/*
www.eeworm.com/read/120018/14814160
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/120014/14814219
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/120008/14814291
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/119982/14815022
cpp queue_status.cpp
#include
// Windows message procedure.
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_COMMAND: /
www.eeworm.com/read/119773/14822637
cpp exam4-5.cpp
/*文件名:exam4_5.cpp*/
#include
main()
{
int year,mon,days,leap;
printf("年.月:");
scanf("%4d.%2d",&year,&mon);
switch (mon)
{
case 1:case 3:case 5:
case 7
www.eeworm.com/read/119773/14822765
cpp exam4-4.cpp
/*文件名:exam4_4.cpp*/
#include
main()
{
int n;
printf("输入星期序号:");
scanf("%d",&n);
switch(n)
{
case 0:printf("周日 ");
case 1:printf("周一 ");
case 2:printf("周二 ");
case 3:pri