代码搜索:enum

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

代码结果 10,000
www.eeworm.com/read/184890/9067564

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/282360/9098562

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/380937/9121936

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/184067/9123785

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/281673/9142117

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/281527/9151431

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/183362/9167137

c enum.c

//运行结果:当运行其中一个case没有break时,switch会自动跳到下一个case(不管case匹配与否). #include "string.h" #include "stdio.h" enum{ first, sec, third, fourth }; int main() { int i=0; switch(i) { case
www.eeworm.com/read/378965/9211457

c enum.c

/*++ Copyright (c) 1997-1998 Microsoft Corporation Module Name: ENUM.C Abstract: This source file contains the routines which enumerate the USB bus and populate the TreeVie
www.eeworm.com/read/181232/9264394

cpp enum.cpp

#include "stdafx.h" #include "Enum.h" #include "CPGlobals.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif BEGIN_TEST_DUMP(ENUMITEM)
www.eeworm.com/read/181232/9264521

h enum.h

#ifndef __ENUM_H__ #define __ENUM_H__ #pragma once #include "Identifier.h" struct ENUMITEM { CString index; int value; }; DECLARE_TEST_DUMP(ENUMITEM) //用于处理枚举的类 //一个枚举,作为一个类型标