【文件属性】:
文件名称:词法分析程序C语言
文件大小:3KB
文件格式:TXT
更新时间:2014-10-30 04:05:59
词法分析程序C语言代码
词法分析程序C语言程序代码//对应词法分析程序的状态转换图左边部分的程序,
#include
void main()
{
int state=0,sign=0;
char ch;
FILE *efp,*tfp;
if((efp=fopen("expression.txt","r"))==NULL)
printf("File open error!\n");
if((tfp=fopen("temp.txt","w"))==NULL)
printf("File open error!\n");