代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/135525/13923985
cpp enum.cpp
// Chapter 2 - Program 1
#include
enum game_result {win, lose, tie, cancel};
main()
{
game_result result;
enum game_result omit = cancel;
www.eeworm.com/read/134916/13970331
c enum.c
/*++
Copyright (c) 1997 Microsoft Corporation
Module Name:
ENUM.C
Abstract:
This module contains the enumeration code needed to figure out
whether or not a device is attache
www.eeworm.com/read/133757/14025477
c enum.c
# include
void main()
{
/* 经过下面的定义后,默认有:blue=0 red=1 ... black=4 */
enum color {blue, red, yellow, purple, black};
enum color i, j, k, pri;
int n, loop;
n = 0;
for(i=blue;
www.eeworm.com/read/111384/15513962
cpp enum.cpp
#include "stdafx.h"
#include
#include "usbview.h"
extern CPtrArray g_Usb;
PCHAR DriverNameToDeviceDesc (PCHAR DriverName);
void AddLeaf (LPARAM lParam, LPTSTR lpszText);
www.eeworm.com/read/111220/15516751
c enum.c
# include
void main()
{
/* 经过下面的定义后,默认有:blue=0 red=1 ... black=4 */
enum color {blue, red, yellow, purple, black};
enum color i, j, k, pri;
int n, loop;
n = 0;
for(i=blue;
www.eeworm.com/read/110993/15520755
cpp enum.cpp
//: C03:Enum.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 1999
// Copyright notice in Copyright.txt
// Keeping track of shapes.
www.eeworm.com/read/110432/15533639
c enum.c
/* Chapter 6 - Program 3 */
main()
{
enum {win,tie,bye,lose,no_show} result;
enum {sun,mon,tues,wed,thur,fri,sat} days;
result = win;
printf("
www.eeworm.com/read/109003/15568906
c enum.c
# include
void main()
{
/* 经过下面的定义后,默认有:blue=0 red=1 ... black=4 */
enum color {blue, red, yellow, purple, black};
enum color i, j, k, pri;
int n, loop;
n = 0;
for(i=blue;
www.eeworm.com/read/105392/15668637