《编译原理》词法分析程序设计
#include #include int I=0,J=0; int Alphabet(char a); int DFA(char m[]); int F(char bb[]); int B(char bb[]); void main() //void main() is here! { FILE *fp,*fs; char m[40]; //char str[100][40]; int i; if(fopen("bb.txt","r")==NULL) //写入单词符号 { fs=fopen("bb.txt