代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.ats
Section Main
var @myvar as atsString
@myvar = "red"
switch @MyVar
Case "red"
msgbox "red"
Case "green"
msgbox "blue"
Case Else
MsgBox "other"
end switch
End Section
switch.cpp
//这个程序在本书所带软盘中,文件名为SWITCH.CPP
//这个程序演示开关语句的工作。
#include
void main(void)
{
int choice;
cout > choice;
switch (choice) {
case 1 : {
cout
switch.java
package com.javapatterns.command.lightandfan;
public class Switch {
private Command UpCommand, DownCommand;
public Switch( Command Up, Command Down) {
UpCommand =
switch.c
# include
void main()
{
int num;
/* 下面定义的各变量,分别代表个位,十位,百位,千位,万位,十万位以及位数 */
int indiv, ten, hundred, thousand;
int ten_thousand, hundred_thousand, place;
printf("请输入一个整数(0~99
switch.clw
; CLW file contains information for the MFC ClassWizard
[General Info]
Version=1
LastClass=CSwitchCtrl
LastTemplate=CDialog
NewFileInclude1=#include "stdafx.h"
NewFileInclude2=#include "switch
switch.cpp
// switch.cpp : Implementation of CSwitchApp and DLL registration.
#include "stdafx.h"
#include "switch.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FI
switch.h
#if !defined(AFX_SWITCH_H__1031DFE3_2A60_42E4_9380_63F86AD0BE62__INCLUDED_)
#define AFX_SWITCH_H__1031DFE3_2A60_42E4_9380_63F86AD0BE62__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_