代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/421785/10698789
c enum.c
/* enum.c -- uses enumerated values */
#include
#include // for strcmp()
#include // C99 feature
enum spectrum {red, orange, yellow, green, blue, violet};
www.eeworm.com/read/158966/10706601
cpp enum.cpp
//: C03:Enum.cpp
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Keeping track of shapes
enum Sha
www.eeworm.com/read/349896/10791139
h enum.h
enum CHILDFRAME_TYPE
{
VIEW_TYPE_NULL = - 1 ,
CHILDFRAME_TYPE_EDITARTICEL ,
CHILDFRAME_TYPE_EXPORT ,
CHILDFRAME_TYPE_EXPORT_HTML ,
};
enum DOCTEMPLATE_TYPE
{
DOCTEMPLATE_TY
www.eeworm.com/read/275044/10837875
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/419765/10839140
i enum.i
// Kernel only & unexported symbols
%ignore enums;
%ignore init_enums;
%ignore save_enums;
%ignore term_enums;
%ignore get_selected_enum;
%ignore add_selected_enum;
%ignore unmark_selected_enum
www.eeworm.com/read/274170/10886422
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/273093/10927592
m enum.m
%最优化枚举法例
clear;
vmax=-inf;
for x2=10:20
for x3=-5:16
if x2+2*x3>=10&3*x2+2*x3vmax,
vmax=v;x20=x2;x30=x3;
end
www.eeworm.com/read/271450/10994300
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/470800/6908457
cpp enum.cpp
// enum.cpp -- a simple enumeration
#include
#include
using namespace std;
enum spectrum {red, orange, yellow, green, blue, violet, indigo, ultraviolet};
int main()
{
en
www.eeworm.com/read/470800/6908657
cpp enum.cpp
// enum.cpp -- use enum
#include
// create named constants for 0 - 6
enum {red, orange, yellow, green, blue, violet, indigo};
int main()
{
using namespace std;
cout