代码搜索结果
找到约 10,000 项符合
Switch 的代码
switch.h
// Switch.h: interface for the CSwitch class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_SWITCH_H__0FBEDC10_8E1D_48D8_9448_6A417E94B455__INCLUDED_)
switch.cpp
// Switch.cpp: implementation of the CSwitch class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "DrawChip.h"
#include "Switch.h"
#i
switch.h
typedef unsigned char BOOLEAN;
typedef unsigned char INT8U; /* Unsigned 8 bit quantity */
typedef signed char INT8S; /* Signed
switch.dat
1 1 31
2 32 16
3 4 33
4 2 34
5 2 35
6 2 36
7 4 37
8 4 38
9 33 39
10 33 40
switch.dat
1 1 31
2 32 16
3 4 33
4 2 34
5 2 35
6 2 36
7 4 37
8 4 38
9 33 39
10 33 40
switch.dat
1 2 19
2 11 20
switch.out
Program:
1 FnDecl:
(return type) Type: void
1 Identifier: foo
(body) StmtBlock:
3 VarDecl:
Type: int
3 Identifier: a
4
switch.curry
void foo()
{
int a;
int b;
switch(a)
{
case 2:{a=3;break;}
default:return;
}
}
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