编译原理课程设计 南京航空航天大学

时间:2013-03-02 09:46:36
【文件属性】:
文件名称:编译原理课程设计 南京航空航天大学
文件大小:961KB
文件格式:RAR
更新时间:2013-03-02 09:46:36
编译原理 课程设计 计算机 全套课程设计,经检验,程序无BUG #include #include"lex.h" main() { //LexScan() //{ char ch,ch1;//存放读入的字符 char token[50]={'\0'};//存放识别的字符串 int i=0;//字符串的指针 int flag;//字符串比较的标志 AttrWord attrword[200]={{"\0"}};//定义属性字 int AWflag=1;//属性字计数器 int k,c,flag1=0,Linenum=1; FILE*fp=fopen("d:\\lex.txt","r"); if(fp==NULL) { printf("can't open text!"); exit(0); } ch=fgetc(fp);
【文件预览】:
编译原理课程设计
----课设报告2007024306常江.doc(207KB)
----新建文件夹()
--------node.h.txt(730B)
--------symtable.h.txt(371B)
--------symboltable.cpp.txt(1KB)
--------新建文本文档.txt(3KB)
--------token.h.txt(576B)
--------parse.txt(873B)
--------entry.h.txt(338B)
--------tokenoizer.h.txt(2KB)
----语法部分()
--------text.plg(734B)
--------text.ncb(49KB)
--------tempfile.exe(176KB)
--------text.dsw(533B)
--------Debug()
--------text.obj(11KB)
--------text.dsp(3KB)
--------text.exe(176KB)
--------text.opt(48KB)
--------text.cpp(3KB)
----程序.doc(89KB)
----课程答辩.ppt(743KB)
----词法部分()
--------tempfile.exe(160KB)
--------lex.obj(9KB)
--------lex.h(612B)
--------lex.exe(160KB)
--------lex.c(4KB)

网友评论