1 #include 2 #include 3 int i,s=1; 4 5 //判断是否数字 6 void number(char a[]) 7 { 8 char b[100]; 9 int m,k=0,t; 10 m=i; 11 while(...
分类:
其他好文 时间:
2015-10-10 01:38:43
阅读次数:
240
源程序#include #include #include typedef struct node{ char zifuji[20]; struct node *next;}NODE;typedef struct stack{ char num[20]; int size;}...
分类:
其他好文 时间:
2015-10-09 11:46:23
阅读次数:
191
#include#includechar input[200];//存放输入字符串char token[5];//存放构成单词符号的字符串char ch; //存放当前读入字符int p; //input[]下标int fg; //switch标记int num; //存放整形值//二维字符数组,存...
分类:
其他好文 时间:
2015-10-08 16:32:20
阅读次数:
177
#include //包含库所用的某些宏和变量#include //包含库#include //包含字符串处理库#define _KEY_WOED_END "waiting for your expanding" //定义关键字结束标志typedef struct{int typenum;char ...
分类:
其他好文 时间:
2015-10-08 16:23:40
阅读次数:
181
#include#include#include#define M 1000structkey{charg[20];};typedefstructkey KEY;intmain(){KEY k[6];inti=0,j=0;chara[M],b[M];strcpy(k[0].g,"begin");st...
分类:
其他好文 时间:
2015-10-08 16:17:07
阅读次数:
184
#include#include#include#define _KEY_WOED_END "waiting for your expanding" //关键字结束标志typedef struct{int typenum;char * word;}WORD;char input[255]; //输入...
分类:
其他好文 时间:
2015-10-08 14:43:34
阅读次数:
204
#include #include char input[200];//存放输入字符串 char token[5];//存放构成单词符号的字符串 char ch; //存放当前读入字符 int p; //input[]下标 int fg; //switch标记 int num; //存放整形值 //...
分类:
其他好文 时间:
2015-10-08 14:34:18
阅读次数:
120
#include#include#include#define M 1000structkey{charg[20];};typedefstructkey KEY;intmain(){KEY k[6];inti=0,j=0;chara[M],b[M];strcpy(k[0].g,"begin");st...
分类:
其他好文 时间:
2015-10-08 14:32:53
阅读次数:
130
#include#includeint i,j,k,sign,flag,number,run;char ch;char word[10];char program[500];int Scan(char program[]){char *keyword[8]={"iii""begin","if","t...
分类:
其他好文 时间:
2015-10-08 14:23:48
阅读次数:
163
#include#includeint i,j,k,sign,flag,number,run;char ch;char word[10];char program[500];int Scan(char program[]){ char *keyword[8]={"iii""begin","if","...
分类:
编程语言 时间:
2015-10-08 13:13:02
阅读次数:
220