#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志 typedef struct{ int typenum; char * word;}WORD; char input[255]; ...
分类:
其他好文 时间:
2015-09-21 20:57:19
阅读次数:
209
#include#include#define N 100main(){ int j,i=0; char a[N],b[N]; printf("请输入源程序:(以#结束)\n"); gets(a); i=0; while(a[i]!='#') { ...
分类:
其他好文 时间:
2015-09-21 20:56:50
阅读次数:
104
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{ int typenum; char * word;}WORD;char input[255]...
分类:
其他好文 时间:
2015-09-21 19:39:18
阅读次数:
162
#include #include #include /*全局变量*/char * chr_form[100];int q=0,temp;char *word[6]={"begin","end","if","then","do","while"};int i=0,j=0,k=0,t=0;char c...
分类:
其他好文 时间:
2015-09-21 19:33:41
阅读次数:
196
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{ int typenum; char * word;}WORD;char input[255]...
分类:
其他好文 时间:
2015-09-21 19:31:13
阅读次数:
157
#include #include char prog[80],token[8],ch;int syn,p,m,n,sum;char *rwtab[6]={"begin","if","then","while","do","end"}; scaner();main(){p=0; printf("输入...
分类:
其他好文 时间:
2015-09-21 19:25:11
阅读次数:
211
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{ int typenum; char * word;}WORD;char inpu...
分类:
其他好文 时间:
2015-09-21 19:24:18
阅读次数:
218
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{ int typenum; char * word;}WORD;char input[255]...
分类:
其他好文 时间:
2015-09-21 19:23:42
阅读次数:
183
#include#includeint ddd(char a[100],int i){ switch(a[i]) { case '+':case '-':case '*':case '/':case '=':case ';':case '(':case ')': ...
分类:
其他好文 时间:
2015-09-21 19:23:25
阅读次数:
157
#include #include #include typedef struct node{ char zifuji[20]; struct node *next;}NODE;typedef struct stack{ char num[20]; int size;}STACK;void cmp(...
分类:
其他好文 时间:
2015-09-21 19:15:48
阅读次数:
194