Welcome![Sign In][Sign Up]
Location:
Search - enum s

Search list

[ActiveX/DCOM/ATLATLdemosXP

Description: 更多的全面使用VC ATL编程的例子源码(适合使用COM的中高级程序员) 压缩包中包含的文件如下: collection.zip:包含VC Atl开发的集合的源代码(组件程序和测试程序) enum.zip:包含VC Atl开发的枚举器的源代码(组件程序和测试程序) event.zip:包含VC Atl开发的事件的源代码(组件程序和测试程序) win.zip:包含VC Atl开发的窗口的源代码(组件程序和测试程序) 参考文献: Tom Armstrong, Ron Patton的ATL Developer s Guide,2nd Edition
Platform: | Size: 149271 | Author: djdjdj | Hits:

[ELanguagepl/0

Description: /*PL/0编译系统C版本头文件pl0.h*/ /* typedef enum { false, true } bool; */ #define norw 13 /*关键字个数*/ #define txmax 100 /*名字表容量*/ #define nmax 14 /*number的最大位数*/ #define al 10 /*符号的最大长度*/ #define amax 2047 /*地址上界*/ #define levmax 3 /*最大允许过程嵌套声明层数[0,levmax]*/ #define cxmax 200 /*最多的虚拟机代码数*/ /*符号*/ enum symbol{ nul, ident, number, plus, minus, times, slash, oddsym, eql, neq, lss, leq, gtr, geq, lparen, rparen, comma, semicolon, period, becomes, beginsym, endsym, ifsym, thensym, whilesym, writesym, readsym, dosym, callsym, constsym, varsym, procsym, }; #define symnum 32 /*名字表中的类型*/ enum object{ constant, variable, procedur, }; /*虚拟机代码*/ enum fct{ lit, opr, lod, sto, cal, inte, jmp, jpc, }; #define fctnum 8 /*虚拟机结构代码*/ struct instruction { /*454*/ enum fct f; // 虚拟机代码指令 int l; //引用层与声明层的层次差 int a; //根据f的不同而不同 }; FILE * fas; //输出名字表 FILE * fa; //输出虚拟机代码 FILE * fa1; //输出源文件及其各行对应的首地址 FILE * fa2; //输出结果 bool listswitch; //显示虚拟机代码与否 bool tableswitch; //显示名字与否 char ch; //获取字符的缓冲区,getch使用 enum symbol sym; //当前的符号 char id[al+1]; //当前ident,多出的一个字节用于存放0 int num; //当前number int cc,ll; //getch使用的计数器,cc表示当前字符(ch)的位置 int cx; //虚拟机代码指针,取值范围[0,cxmax-1] char line[81]; //读取行缓冲区 char a[al+1]; //临时符号,多出的一个字节用于存放0 struct instruction code[cxmax]; //存放虚拟机代码的数组 char word[norw][al]; //保留字 enum symbol wsym[norw]; //保留字对应的符号值 enum symbol ssym[256]; //单字符的符号值 char mnemonic[fctnum][5]; //虚拟机代码指令名称 bool declbegsys[symnum]; //表示声明开始的符号集合 bool statbegsys[symnum]; //表示语句开始的符号集合 bool facbegsys[symnum]; //表示因子开始的符号集合 //名字表结构 struct tablestruct { char name[al]; //名字 enum object kind; //类型:const,var,array or procedure int val; //数值,仅const使用 int level; //所须层,仅const不能用 int adr; //地址,仅const不能用 int size; //需要分配的数据空间,仅procedure使用 }; struct tablestruct table[txmax]; //名字表 FILE * fin; FILE * fout; char fname[al]; int err; //错误计数器 //当函数中发生fatal error时,返回-1告知调用它的函数,最终退出程序 #define getsymdo if(-1==getsym()) return -1 #define getchdo if(-1==getch()) return -1 #define testdo(a,b,c) if(-1==test(a,b,c)) return -1 #define gendo(a,b,c) if(-1==gen(a,b,c)) return -1 #define expressiondo(a,b,c) if(-1==expression(a,b,c)) return -1 #define factordo(a,b,c) if(-1==factor(a,b,c)) return -1 #define termdo(a,b,c) if(-1==term(a,b,c)) return -1 #define conditiondo(a,b,c) if(-1==condition(a,b,c)) return -1 #define statementdo(a,b,c) if(-1==statement(a,b,c)) return -1 #define constdeclarationdo(a,b,c) if(-1==constdeclaration(a,b,c)) return -1 #define vardeclarationdo(a,b,c) if(-1==vardeclaration(a,b,c)) return -1 void error(int n); int getsym(); int getch(); void init(); int gen(enum fct x,int y ,int z); int test(bool *s1,bool *s2,int n); int inset(int e,bool *s); int addset(bool *str,bool * s1,bool * s2,int n); int subset(bool *str,bool * s1,bool * s2,int n); int mulset(bool *str,bool * s1,bool * s2,int n); int block(int lev,int tx,bool * fsys); void interpret(); int factor(bool * fsys,int * ptx,int lev); int term(bool * fsys,int * ptx,int lev); int condition(bool * fsys,int * ptx,int lev); int expression(bool * fsys,int * ptx,int lev); int statement(bool * fsys,int * ptx,int lev); void listcode(int cx0); int vardeclaration(int *ptr, int lev,int *ptx); int constdeclaration(int *ptr, int lev,int *ptx); int position(char * idt,int tx); void enter(enum object k,int * ptx,int lev, int * pdx); int base(int l,int * s,int b)
Platform: | Size: 25139 | Author: xqq771084591 | Hits:

[Internet-NetworkSPI_enum

Description: 对系统SPI信息进行枚举 包括DLL路径和协议-right system SPI information enumeration including routing and DLL agreement
Platform: | Size: 27648 | Author: 杨建 | Hits:

[ActiveX/DCOM/ATLATLdemosXP

Description: 更多的全面使用VC ATL编程的例子源码(适合使用COM的中高级程序员) 压缩包中包含的文件如下: collection.zip:包含VC Atl开发的集合的源代码(组件程序和测试程序) enum.zip:包含VC Atl开发的枚举器的源代码(组件程序和测试程序) event.zip:包含VC Atl开发的事件的源代码(组件程序和测试程序) win.zip:包含VC Atl开发的窗口的源代码(组件程序和测试程序) 参考文献: Tom Armstrong, Ron Patton的ATL Developer s Guide,2nd Edition -More comprehensive use VC ATL programming examples source (for the use of the senior programmers COM) compressed package includes the following documents: collection.zip: the development of VC Atl contains a collection of source code (assembly and test procedures procedures) enum.zip: includes the development of VC Atl enumerator source code (assembly procedures and testing procedures) event.zip: includes the development of events in VC Atl source code (assembly procedures and testing procedures) win.zip: includes the development of VC Atl window source code (assembly procedures and testing procedures) References: Tom Armstrong, Ron Patton of ATL Developer s Guide, 2nd Edition
Platform: | Size: 149504 | Author: djdjdj | Hits:

[.netecom_source

Description: Marrying an Enum to a ComboBox. The demo project contains a class, C_EnumTools, which contains all the methods needed to link an Enum to a ComboBox (or any other control that lists indexed items) such that the population of the ComboBox as well as the interpretation of the user s combobox selection are both done within the context of the Enum.
Platform: | Size: 26624 | Author: pudn_com | Hits:

[OS programtecEnumWin

Description: IT s used to Enum all the desktop windows
Platform: | Size: 31744 | Author: 張軒竣 | Hits:

[Windows Developpdbexp_v1.11.223_src

Description: PDB Explorer 是一个能够查看微软 pdb 文件(Program DataBase ,程序数据库)的工具,它能够将 pdb 文件中的 struct 、union 及 enum 类型的定义以 C/C++ 的语法显示出来,特别适合 Windows 底层研究人员及 DDK 程序员使用。 作者:李马-PDB Explorer is a tool that can check the Program DataBase of MS
Platform: | Size: 46080 | Author: 王小鱼 | Hits:

[SCMMSP430_clockset

Description: msp430的时钟设定API程序,包括XT2的开关,DCO的设定和MCLK及SMCLK的时钟源选择,从此不用记寄存器 void XT2_on() void XT2_off() void DCOset(BYTE freq) //1,2,4,8,10,12,14,15,16,20,32 void Msource(char source) //enum:ACLK,XT2,DCO void SMsource(char source) //enum:XT2,DCO-msp430‘s clock settings API procedures, including the XT2 switch, DCO and SMCLK set and MCLK clock source selection, from not remember register void XT2_on () void XT2_off () void DCOset (BYTE freq) // 1 , 2,4,8,10,12,14,15,16,20,32 void Msource (char source) // enum: ACLK, XT2, DCO void SMsource (char source) // enum: XT2, DCO
Platform: | Size: 2048 | Author: 水果糖 | Hits:

[Linux-Unixpl022

Description: enum s hierarchy - whether SSP is configured as Master or Slave.
Platform: | Size: 3072 | Author: qacunma | Hits:

[Linux-Unixzutil

Description: Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX.
Platform: | Size: 2048 | Author: vlqjmun | Hits:

[Linux-Unixist

Description: Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX. -Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX.
Platform: | Size: 12288 | Author: qnpfyei | Hits:

[Linux-Unixfont

Description: Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX.
Platform: | Size: 6144 | Author: pydingvl | Hits:

[Linux-Unixint

Description: Number of tasks in uninterruptible.Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX. -Number of tasks in uninterruptible.Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX.
Platform: | Size: 2048 | Author: noraill | Hits:

[Linux-Unixigmp

Description: Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX. -Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX.
Platform: | Size: 5120 | Author: vietujl | Hits:

[Linux-Unixconst

Description: Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX. -Commands sent userspace Not versioned. New commands should only be inserted at the enum s end prior to __CGROUPSTATS_CMD_MAX.
Platform: | Size: 5120 | Author: gpqpyi | Hits:

[Linux-UnixSkFont

Description: The Hinting enum in SkPaint is gone entirely, absorbed into SkFont s flags.
Platform: | Size: 3072 | Author: qmruilj | Hits:

[Linux-UnixSkValidationUtils

Description: Returns true if coeff s value is in the SkXfermode::Coeff enum.
Platform: | Size: 2048 | Author: jpvsdt | Hits:

[Internet-NetworkDNS and BIND 5th Edition

Description: DNS and BIND tells you everything you need to work with one of the Internet's fundamental building blocks: the distributed host information database that's responsible for translating names into addresses, routing mail to its proper destination, and even listing phone numbers with the new ENUM standard. This book brings you up-to-date with the latest changes in this crucial service.
Platform: | Size: 2453504 | Author: lovebear | Hits:

CodeBus www.codebus.net