代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/388108/8635253
cpp queen.cpp
// QUEEN.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
enum BOOLEAN
{
FALSE = 0,
TRUE = 1
};
enum STATUS
{
EMPTY = 0,
HA
www.eeworm.com/read/382761/9000972
cpp queen.cpp
// QUEEN.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include
enum BOOLEAN
{
FALSE = 0,
TRUE = 1
};
enum STATUS
{
EMPTY = 0,
HA
www.eeworm.com/read/422934/10600414
h crelay.h
#ifndef _C_RELAY_H
#define _C_RELAY_H
typedef enum {kOff, kOn, kForward, kReverse} RelayValue;
typedef enum {kBothDirections, kForwardOnly, kReverseOnly} RelayDirection;
void InitRelay(UINT32
www.eeworm.com/read/441047/7677010
c 4.2.c
#include
#define NULL 0
enum PointerTag{Link,Thread};
struct BiThrNode
{char data;
struct BiThrNode *lchild,*rchild;
enum PointerTag LTag,RTag;
};
struct BiThrNode *T;
struct BiThr
www.eeworm.com/read/297451/8020050
cpp rbtree.cpp
#include
#include
using namespace std;
enum color{red,black};
struct Element{ int key ;};
enum status{ok,rbr,brb,rrb,brr};
struct RBtree{
Element root;
RBtree* leftSubt
www.eeworm.com/read/311051/13637925
java deal.java
import java.util.*;
public class Card {
public enum Rank { DEUCE, THREE, FOUR, FIVE, SIX,
SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE }
public enum Suit { CLUBS, DIAMONDS,
www.eeworm.com/read/311050/13637945
java deal.java
import java.util.*;
class Card {
public enum Rank { DEUCE, THREE, FOUR, FIVE, SIX,
SEVEN, EIGHT, NINE, TEN, JACK, QUEEN, KING, ACE }
public enum Suit { CLUBS, DIAMONDS, HEARTS,
www.eeworm.com/read/144973/5748177
bas modsyssetting.bas
Attribute VB_Name = "modSysSetting"
'Create by Whorter Wang in 2002-2-9
Option Explicit
''''''''''''''''''''''''''''''''''''''''''
Dim m_tagErrInfo As TYPE_ERRORINFO
'操作状态枚举
Enum ENUM_OPTYPE
www.eeworm.com/read/486654/6524584
cpp 2435.cpp
/* This Code is Submitted by wywcgs for Problem 2435 on 2007-01-01 at 17:32:03 */
#include
#include
using namespace std;
enum { LOST = -1, CAUGHT = 0, SAVED = 1 };
enum { G
www.eeworm.com/read/481966/6633883
cpp 2435.cpp
/* This Code is Submitted by wywcgs for Problem 2435 on 2007-01-01 at 17:32:03 */
#include
#include
using namespace std;
enum { LOST = -1, CAUGHT = 0, SAVED = 1 };
enum { G