编译原理 我没看懂 100分#include#include#include#includeusing namespace std;char cbuffer;char * key[21]={"and","begin","const","div","do","else","end","function","if","integer","not","or","procedure","program","read","real","then","type","var

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 14:02:54

编译原理 我没看懂 100分#include#include#include#includeusing namespace std;char cbuffer;char * key[21]={"and","begin","const","div","do","else","end","function","if","integer","not","or","procedure","program","read","real","then","type","var
编译原理 我没看懂 100分
#include
#include
#include
#include
using namespace std;
char cbuffer;
char * key[21]={"and","begin","const","div","do","else","end","function","if",
"integer","not","or","procedure","program","read","real","then","type","var","while","write"};
char * border[8]={",",";",":",".","(",")","[","]"};
char * relation[14]={"+","-","*","/","=","","","=",":=","{","}","#"};
ifstream ifile;
int search( char searchchar[],int wordtype)
{
int i=0;
switch(wordtype)
{
case 1:{for(i=0;i

编译原理 我没看懂 100分#include#include#include#includeusing namespace std;char cbuffer;char * key[21]={"and","begin","const","div","do","else","end","function","if","integer","not","or","procedure","program","read","real","then","type","var
+739227481 你是要解释,还是要啥?