#include
#include
#include
#define ERROR 0
#define OK 1
#define NULL 0
struct consdef
{
char var;
int val;
};
void main()
{
FILE *cfptr;
FILE *cfpt;
char string[100][100];
char w[100];
char r[10];
char t;
char string1='\n';
int a,b,c,d,j,m;
int i=0;
int e=0;
int v;
struct consdef valtable[100];
for(i=0;i<10;i++)
{valtable[i].val=0;
valtable[i].var=' ';
} //初始化consdef
i=0;
if((cfptr=fopen("wsq.txt","r+"))==NULL)
2021-12-17 20:38:04
226KB
中间代码优化
1