代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.c
#include
#include"switch.h"
#include"main.h"
#include"sg.h"
#define Sw_Num 17
#define DB_REQ 1
#define FB_REQ 2
#define DBJ 0xaa
#define FBJ 0x55
#define NUL1 0
GnomeCanvasItem *
switch.h~
/*#include
#include"switch.h"
#include"main.h"
#include"sg.h"*/
#define Sw_Num 17
#define DB_REQ 1
#define FB_REQ 2
#define DBJ 0xaa
#define FBJ 0x55
#define NUL1 0
GnomeCanvasIt
switch.c
/****************************************************************************
*
* MODULE: ZigBee Light Switch code
*
* COMPONENT: Switch.c,v
*
* VERSION:
*
* REVISION:
switch.c
# include
void main()
{
int num;
/* 下面定义的各变量,分别代表个位,十位,百位,千位,万位,十万位以及位数 */
int indiv, ten, hundred, thousand;
int ten_thousand, hundred_thousand, place;
printf("请输入一个整数(0~99
switch.cpp
// switch.cpp -- use the switch statement
#include
using namespace std;
void showmenu(); // function prototypes
void report();
void comfort();
int main()
{
showmenu();
in
switch.cpp
// switch.cpp -- use the switch statement
#include
using namespace std;
void showmenu(); // function prototypes
void report();
void comfort();
int main()
{
showmenu();
in
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;