代码搜索:enum

找到约 10,000 项符合「enum」的源代码

代码结果 10,000
www.eeworm.com/read/366702/2871492

c warn2.c

// { dg-do assemble } // { dg-options "-Wall" } enum Boolean { Ok = 0, NotOk = 1, }; enum OpResult { Succeeded = 0, TempFail = 1, PermFail = 2, }; OpResult fn1() { return TempFail; }
www.eeworm.com/read/366702/2871763

c scoping9.c

// { dg-do assemble } // Bug: g++ silently mangles the second 'B' to 'A::B', so the definition is // lost. struct A { enum B { }; }; struct C: public A { enum B { }; void foo (C::B); };
www.eeworm.com/read/366702/2881522

c undeclared-1.c

/* Test for no ICE with an undeclared identifier in an enum in old-style parameter decls. PR 12560. */ /* { dg-options "-w" } */ foo(c) enum { a = b } c; /* { dg-error "undeclared|for each
www.eeworm.com/read/160705/5566844

vb cgelement.vb

'图元基类 Imports System.Drawing.Drawing2D Public Class CGElement '绘图方式 Public Enum geDrawMode Normal = 1 Selec = 2 Drag = 3 Delete = 4 End Enum
www.eeworm.com/read/158872/5591341

h ppc.h

typedef long Long; /* The following enum is used to access the special registers in the saved machine state. */ typedef enum { kDc_SavedPC = 0, /* really SRR0 */ kDc_SavedMSR = 1, /* real
www.eeworm.com/read/158683/5596497

h xmlio.h

#ifndef __XMLIO_H__ #define __XMLIO_H__ #include "fastdb.h" class dbXmlScanner { public: enum { MaxIdentSize = 256 }; enum token { xml_ident, xml_sconst, xml_
www.eeworm.com/read/431998/6840933

qrc core.qrc

images/cancel.gif images/define.gif images/enum.gif
www.eeworm.com/read/269620/11085879

c workin.c

#include #include #include enum Sex{ male, female }; /* 性别 */ enum Education{ high, junior, college, master, doctor}; /* 学历 */ struct Date /* 日期 */
www.eeworm.com/read/113130/15469763

h pocketclib.h

#ifndef POCKETC_LIB_H #define POCKETC_LIB_H #include enum VarType { vtInt, vtChar, vtFloat, vtString, vtVoid }; enum StrType { stClassic, stIndirect, stConst }; struct Value {
www.eeworm.com/read/113130/15469771

h pocketclib.h

#ifndef POCKETC_LIB_H #define POCKETC_LIB_H #include enum VarType { vtInt, vtChar, vtFloat, vtString, vtVoid }; enum StrType { stClassic, stIndirect, stConst }; struct Value {